quiver.core library Null safety

Simple code with broad use cases.

Classes

Optional<T>
A value that might be absent. [...]

Functions

firstNonNull(dynamic o1, dynamic o2, [dynamic o3, dynamic o4]) → dynamic
Returns the first non-null argument. [...]
@Deprecated('Use ?? and ArgumentError.checkNotNull. Will be removed in 4.0.0')
hash2(dynamic a, dynamic b) int
Generates a hash code for two objects.
hash3(dynamic a, dynamic b, dynamic c) int
Generates a hash code for three objects.
hash4(dynamic a, dynamic b, dynamic c, dynamic d) int
Generates a hash code for four objects.
hashObjects(Iterable objects) int
Generates a hash code for multiple objects.