0 purchases
bool dogoo
This is part of the dogoo package that provides Dart and Flutter utilities.
Bool Dogoo provides utility functions and extension for bool type.
Features #
Make boolean value to num value.
Usage #
import 'package:bool_dogoo/bool_dogoo.dart';
void main() {
const bool myBoolT = true;
const bool myBoolF = false;
print(myBoolT.toInt()); // 1
print(myBoolF.toDouble()); // 0.0
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.