bool_dogoo 0.1.0 copy "bool_dogoo: ^0.1.0" to clipboard
bool_dogoo: ^0.1.0 copied to clipboard

Provides simple functions and extensions for bool type. This is part of the 'dogoo' package that provides 'Dart' and 'Flutter' utilities.

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
}
1
likes
160
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

Provides simple functions and extensions for bool type. This is part of the 'dogoo' package that provides 'Dart' and 'Flutter' utilities.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on bool_dogoo