typedef 1.0.8 copy "typedef: ^1.0.8" to clipboard
typedef: ^1.0.8 copied to clipboard

outdated

Defines basic type aliases

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add typedef

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

dependencies:
  typedef: ^1.0.8

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

Import it

Now in your Dart code, you can use:

import 'package:typedef/json.dart';
import 'package:typedef/predicate.dart';
1
likes
0
points
114
downloads

Publisher

unverified uploader

Weekly Downloads

Defines basic type aliases

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on typedef