maybe_as 0.0.4 copy "maybe_as: ^0.0.4" to clipboard
maybe_as: ^0.0.4 copied to clipboard

outdated

Optional as. Returns null if type if not match the class type.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add maybe_as

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  maybe_as: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:maybe_as/maybe_as.dart';
5
likes
0
pub points
46%
popularity

Publisher

verified publisherpub.iostech.org

Optional as. Returns null if type if not match the class type.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on maybe_as