more library Null safety

More Dart — Literally.

Classes

BigIntRange
A virtual range of BigInt containing an arithmetic progressions. [...]
BiMap<K, V>
A bi-map associates keys with values and values with keys. [...]
BitList
An space efficient fixed length List that stores boolean values.
Cache<K, V>
CharMatcher
Abstract character matcher function. [...]
Complex
A complex number of the form a + b*i.
DelegateCache<K, V>
A cache that delegates to another one.
DoubleRange
A virtual range of doubles containing an arithmetic progressions. [...]
Either<L, R>
A disjoint union with a value of either type L or type R. [...]
FieldPrinter<T>
Abstract field description.
FixedNumberPrinter<T extends num>
Prints numbers in a fixed format.
Fraction
A rational number.
Group<K, V>
A group of values.
HumanNumberPrinter<T extends num>
Prints numbers in a custom human readable string.
Indexed<E>
An indexed value.
IntegerRange
A virtual range of integers containing an arithmetic progressions. [...]
ListMultimap<K, V>
A multimap that stores values in a List, and that maintains the insertion order of values of a given key. A factory can be provided to create custom value collections.
LiteralPrinter<T>
Prints a string literal.
Multiset<E>
A generalized Set (or Bag) in which members are allowed to appear more than once.
ObjectPrinter<T>
Configurable printer for standard objects.
Optional<T>
A container object which may or may not contain a value of type T. [...]
Ordering<T>
An ordering implements a Comparator function that can be modified using a fluent interface. [...]
Printer<T>
An abstract function that prints objects of type T.
Quaternion
A quaternion number of the form w + x*i + y*j + z*k.
Range<T>
Abstract superclass of an arithmetic progressions. [...]
ScientificNumberPrinter<T extends num>
Prints numbers in a scientific format.
SequencePrinter<T>
Prints a sequence of printers.
SetMultimap<K, V>
A multimap that stores values in a Set, and that keeps the unique values of a given key. A factory can be provided to create custom value collections.
SignNumberPrinter<T extends num>
Prints numbers in various formats.
StandardPrinter<T>
Calls the standard toString method.
Trie<K, P extends Comparable<P>, V>
A generalized Trie (or prefix tree) which keys of type K split into parts of type P, and values of type V.
TrieNode<K, P extends Comparable<P>, V>
Abstract implementation of the nodes in a Trie.
TrieNodeEntry<K, P extends Comparable<P>, V>
Abstract TrieNode with a possible key and value.
TrieNodeList<K, P extends Comparable<P>, V>
TrieNode that holds children in a sorted List.
TrieNodeMap<K, P extends Comparable<P>, V>
TrieNode that holds children in a Map.
Tuple
Abstract tuple class.
Tuple0
Tuple with 0 elements.
Tuple1<T1>
Tuple with 1 element.
Tuple2<T1, T2>
Tuple with 2 elements.
Tuple3<T1, T2, T3>
Tuple with 3 elements.
Tuple4<T1, T2, T3, T4>
Tuple with 4 elements.
Tuple5<T1, T2, T3, T4, T5>
Tuple with 5 elements.
Tuple6<T1, T2, T3, T4, T5, T6>
Tuple with 6 elements.
Tuple7<T1, T2, T3, T4, T5, T6, T7>
Tuple with 7 elements.
Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>
Tuple with 8 elements.
Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>
Tuple with 9 elements.
TypeMap<T>
A type-map associates dart runtime types to an instance of that type.
TypePrinter<T>
Printer of the dynamic runtime type.

Mixins

CloseTo<T>

Extensions

BigIntRangeExtension
BiMapOnIterableExtension
BiMapOnMapExtension
BinomialBigIntExtension
BinomialIntegerExtension
BitListExtension
BufferExtension
BuilderPrinterExtension
ChunkedExtension
CombinationsExtension
ConvertFirstLastStringExtension
CycleExtension
DigitsBigIntExtension
DigitsIntegerExtension
DoubleRangeExtension
EmptyPrinterExtension
FactorialBigIntExtension
FactorialIntegerExtension
FlatMapExtension
FlatMapStreamExtension
FlattenExtension
FlattenIterableExtension
FlattenStreamExtension
GroupExtension
HyperbolicNumberExtension
IndentDedentStringExtension
IndexedExtension
IndicesIterableExtension
IntegerRangeExtension
IterablePrinterExtension
LcmBigIntExtension
LcmIntegerExtension
ListMultimapOnIterableExtension
ListMultimapOnMapExtension
MathNumberExtension
MultisetExtension
NullPrinterExtension
OperatorExtension
OperatorsExtension
PadPrinterExtension
PeriodicalExtension
PermutationsExtension
PolynomialIterableExtension
PrefixSuffixStringExtension
PrimesIntegerExtension
ProbablyPrimeBigIntExtension
ProbablyPrimeComplexExtension
ProbablyPrimeIntegerExtension
ProductExtension
RandomExtension
RepeatExtension
RotateListExtension
RotateQueueExtension
SeparatedExtension
SeparatePrinterExtension
SequencePrinterExtension
SetMultimapOnIterableExtension
SetMultimapOnMapExtension
StringListExtension
TapExtension
ToMapExtension
TransformPrinterExtension
TrimPrinterExtension
TruncateExtension
TruncatePrinterExtension
UniqueExtension
WhereTypeExtension
WindowExtension
WrapUnwrapStringExtension
ZipExtension

Constants

isJavaScript → const bool
Information about the runtime environment. True, if the code is running in JavaScript.
identical(1, 1.0)
safeIntegerBits → const int
The safe bits of an int value. In the Dart VM integer are represented using 63 bits, in JavaScript we only have 53.
isJavaScript ? 53 : 63

Properties

maxSafeInteger int
The maximum safe value of an int.
final
minSafeInteger int
The minimum safe value of an int.
final

Functions

constantFunction0<R>(R value) Map0<R>
Constant function with 0 arguments.
constantFunction1<T0, R>(R value) Map1<T0, R>
Constant function with 1 argument.
constantFunction2<T0, T1, R>(R value) Map2<T0, T1, R>
Constant function with 2 arguments.
constantFunction3<T0, T1, T2, R>(R value) Map3<T0, T1, T2, R>
Constant function with 3 arguments.
constantFunction4<T0, T1, T2, T3, R>(R value) Map4<T0, T1, T2, T3, R>
Constant function with 4 arguments.
constantFunction5<T0, T1, T2, T3, T4, R>(R value) Map5<T0, T1, T2, T3, T4, R>
Constant function with 5 arguments.
constantFunction6<T0, T1, T2, T3, T4, T5, R>(R value) Map6<T0, T1, T2, T3, T4, T5, R>
Constant function with 6 arguments.
constantFunction7<T0, T1, T2, T3, T4, T5, T6, R>(R value) Map7<T0, T1, T2, T3, T4, T5, T6, R>
Constant function with 7 arguments.
constantFunction8<T0, T1, T2, T3, T4, T5, T6, T7, R>(R value) Map8<T0, T1, T2, T3, T4, T5, T6, T7, R>
Constant function with 8 arguments.
constantFunction9<T0, T1, T2, T3, T4, T5, T6, T7, T8, R>(R value) Map9<T0, T1, T2, T3, T4, T5, T6, T7, T8, R>
Constant function with 9 arguments.
constantFunction10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, R>(R value) Map10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, R>
Constant function with 10 arguments.
emptyFunction0() → void
Generic empty functions returning nothing. Empty function with 0 arguments.
emptyFunction1<T0>(T0 arg0) → void
Empty function with 1 argument.
emptyFunction2<T0, T1>(T0 arg0, T1 arg1) → void
Empty function with 2 arguments.
emptyFunction3<T0, T1, T2>(T0 arg0, T1 arg1, T2 arg2) → void
Empty function with 3 arguments.
emptyFunction4<T0, T1, T2, T3>(T0 arg0, T1 arg1, T2 arg2, T3 arg3) → void
Empty function with 4 arguments.
emptyFunction5<T0, T1, T2, T3, T4>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) → void
Empty function with 5 arguments.
emptyFunction6<T0, T1, T2, T3, T4, T5>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) → void
Empty function with 6 arguments.
emptyFunction7<T0, T1, T2, T3, T4, T5, T6>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) → void
Empty function with 7 arguments.
emptyFunction8<T0, T1, T2, T3, T4, T5, T6, T7>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) → void
Empty function with 8 arguments.
emptyFunction9<T0, T1, T2, T3, T4, T5, T6, T7, T8>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) → void
Empty function with 9 arguments.
emptyFunction10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) → void
Empty function with 10 arguments.
hash(Iterable objects) int
Combines multiple hash values. Combines the hash code of multiple objects.
@Deprecated('Use Object.hashAll from the core library.')
hash1(dynamic a) int
Combines the hash code of one object a.
@Deprecated('Use a.hashCode from the core library.')
hash2(dynamic a, dynamic b) int
Combines the hash code of two objects a and b.
@Deprecated('Use Object.hash from the core library.')
hash3(dynamic a, dynamic b, dynamic c) int
Combines the hash code of three objects a, b and c.
@Deprecated('Use Object.hash from the core library.')
hash4(dynamic a, dynamic b, dynamic c, dynamic d) int
Combines the hash code of four objects a, b, c and d.
@Deprecated('Use Object.hash from the core library.')
hash5(dynamic a, dynamic b, dynamic c, dynamic d, dynamic e) int
Combines the hash code of four objects a, b, c, d, and e.
@Deprecated('Use Object.hash from the core library.')
hash6(dynamic a, dynamic b, dynamic c, dynamic d, dynamic e, dynamic f) int
Combines the hash code of four objects a, b, c, d, e, and f.
@Deprecated('Use Object.hash from the core library.')
hash7(dynamic a, dynamic b, dynamic c, dynamic d, dynamic e, dynamic f, dynamic g) int
Combines the hash code of four objects a, b, c, d, e, f, and g.
@Deprecated('Use Object.hash from the core library.')
hash8(dynamic a, dynamic b, dynamic c, dynamic d, dynamic e, dynamic f, dynamic g, dynamic h) int
Combines the hash code of four objects a, b, c, d, e, f, g, and h.
@Deprecated('Use Object.hash from the core library.')
hash9(dynamic a, dynamic b, dynamic c, dynamic d, dynamic e, dynamic f, dynamic g, dynamic h, dynamic i) int
Combines the hash code of four objects a, b, c, d, e, f, g, h, and i.
@Deprecated('Use Object.hash from the core library.')
identityFunction<T>(T arg) → T
Generic identity functions. Canonical identity function with 1 argument.
iterate<E>(E value, IterateCallback<E> function) Iterable<E>
Returns a lazy infinite list of repeated applications of the function to the initial value. [...]
repeat<E>(E element, {int? count}) Iterable<E>
Returns an infinite iterable with a constant element. If count is provided the resulting iterator is limited to count elements. [...]
throwFunction0<R>(Object throwable) Map0<R>
Throwing function with 0 arguments.
throwFunction1<T0, R>(Object throwable) Map1<T0, R>
Throwing function with 1 argument.
throwFunction2<T0, T1, R>(Object throwable) Map2<T0, T1, R>
Throwing function with 2 arguments.
throwFunction3<T0, T1, T2, R>(Object throwable) Map3<T0, T1, T2, R>
Throwing function with 3 arguments.
throwFunction4<T0, T1, T2, T3, R>(Object throwable) Map4<T0, T1, T2, T3, R>
Throwing function with 4 arguments.
throwFunction5<T0, T1, T2, T3, T4, R>(Object throwable) Map5<T0, T1, T2, T3, T4, R>
Throwing function with 5 arguments.
throwFunction6<T0, T1, T2, T3, T4, T5, R>(Object throwable) Map6<T0, T1, T2, T3, T4, T5, R>
Throwing function with 6 arguments.
throwFunction7<T0, T1, T2, T3, T4, T5, T6, R>(Object throwable) Map7<T0, T1, T2, T3, T4, T5, T6, R>
Throwing function with 7 arguments.
throwFunction8<T0, T1, T2, T3, T4, T5, T6, T7, R>(Object throwable) Map8<T0, T1, T2, T3, T4, T5, T6, T7, R>
Throwing function with 8 arguments.
throwFunction9<T0, T1, T2, T3, T4, T5, T6, T7, T8, R>(Object throwable) Map9<T0, T1, T2, T3, T4, T5, T6, T7, T8, R>
Throwing function with 9 arguments.
throwFunction10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, R>(Object throwable) Map10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, R>
Throwing function with 10 arguments.

Enums

Period
Different kinds of repeating periodic timestamps.

Typedefs

Callback0 = void Function()
Function types for generic callbacks. Function callback with 0 arguments.
Callback1<T0> = void Function(T0 arg0)
Function callback with 1 argument.
Callback2<T0, T1> = void Function(T0 arg0, T1 arg1)
Function callback with 2 arguments.
Callback3<T0, T1, T2> = void Function(T0 arg0, T1 arg1, T2 arg2)
Function callback with 3 arguments.
Callback4<T0, T1, T2, T3> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3)
Function callback with 4 arguments.
Callback5<T0, T1, T2, T3, T4> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Function callback with 5 arguments.
Callback6<T0, T1, T2, T3, T4, T5> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Function callback with 6 arguments.
Callback7<T0, T1, T2, T3, T4, T5, T6> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
Function callback with 7 arguments.
Callback8<T0, T1, T2, T3, T4, T5, T6, T7> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Function callback with 8 arguments.
Callback9<T0, T1, T2, T3, T4, T5, T6, T7, T8> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Function callback with 9 arguments.
Callback10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> = void Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
Function callback with 10 arguments.
Loader<K, V> = FutureOr<V> Function(K key)
Function asynchronously loading missing cache values.
Map0<R> = R Function()
Function type for generic mapping functions. Function callback with 0 arguments.
Map1<T0, R> = R Function(T0 arg0)
Function callback with 1 argument.
Map2<T0, T1, R> = R Function(T0 arg0, T1 arg1)
Function callback with 2 arguments.
Map3<T0, T1, T2, R> = R Function(T0 arg0, T1 arg1, T2 arg2)
Function callback with 3 arguments.
Map4<T0, T1, T2, T3, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3)
Function callback with 4 arguments.
Map5<T0, T1, T2, T3, T4, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Function callback with 5 arguments.
Map6<T0, T1, T2, T3, T4, T5, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Function callback with 6 arguments.
Map7<T0, T1, T2, T3, T4, T5, T6, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
Function callback with 7 arguments.
Map8<T0, T1, T2, T3, T4, T5, T6, T7, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Function callback with 8 arguments.
Map9<T0, T1, T2, T3, T4, T5, T6, T7, T8, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Function callback with 9 arguments.
Map10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, R> = R Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
Function callback with 10 arguments.
Predicate0 = bool Function()
Function type for generic predicate functions. Function predicate with 0 arguments.
Predicate1<T0> = bool Function(T0 arg0)
Function predicate with 1 argument.
Predicate2<T0, T1> = bool Function(T0 arg0, T1 arg1)
Function predicate with 2 arguments.
Predicate3<T0, T1, T2> = bool Function(T0 arg0, T1 arg1, T2 arg2)
Function predicate with 3 arguments.
Predicate4<T0, T1, T2, T3> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3)
Function predicate with 4 arguments.
Predicate5<T0, T1, T2, T3, T4> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Function predicate with 5 arguments.
Predicate6<T0, T1, T2, T3, T4, T5> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Function predicate with 6 arguments.
Predicate7<T0, T1, T2, T3, T4, T5, T6> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
Function predicate with 7 arguments.
Predicate8<T0, T1, T2, T3, T4, T5, T6, T7> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Function predicate with 8 arguments.
Predicate9<T0, T1, T2, T3, T4, T5, T6, T7, T8> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Function predicate with 9 arguments.
Predicate10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> = bool Function(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
Function predicate with 10 arguments.