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

Defines the function types with different arities via `typedefs`.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add function_types

With Flutter:

 $ flutter pub add function_types

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

dependencies:
  function_types: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:function_types/function_types.dart';
1
likes
110
pub points
71%
popularity

Publisher

unverified uploader

Defines the function types with different arities via `typedefs`.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on function_types