acdg_foundations 0.1.0
acdg_foundations: ^0.1.0 copied to clipboard
Recriação fiel, em Dart puro e sem dependências, dos protocolos e tipos de valor fundamentais da stdlib do Swift: Optional, Equatable, Hashable, Comparable, Identifiable, Copyable e Escapable.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add acdg_foundationsWith Flutter:
$ flutter pub add acdg_foundationsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
acdg_foundations: ^0.1.0Alternatively, 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:acdg_foundations/acdg_foundations.dart';