exports/platform_independent library
Classes
- CancelableTimer
- CancelableTimerPeriodic
-
ConverterPassthroughSink<
S, T, C extends Converter< S, T> > -
DataHistorySink<
T> - Sink that keeps a configurable sliding-buffer of data in memory.
- DurationUtil
- Null-safe Duration helpers exposed as static methods.
- Inspect
- InspectOptions
- JsonUtil
- JSON utilities exposed as static methods.
-
Memoizer<
T> -
Synchronous version of
AsyncMemoizer - StringPointer
- A class that keep an offset attached to a string giving a C-string-pointer like object.
Enums
Extensions
- AnsiStringExtension on String
-
CaseListStringExtension
on List<
String> - CaseStringExtension on String
- DiacriticsStringExtension on String
- InspectListExtension on List
- InspectMapExtension on Map
- InspectSetExtension on Set
- InspectStringExtension on String
- LineBreakingStringExtension on String
- LinesStringExtension on String
- PatternExtensions on Pattern
- PatternTrimStringExtension on String
- StopwatchExtension on Stopwatch
- TruncateStringExtension on String
Functions
-
castAsJsonObjectArray(
JsonValue? value) → JsonObjectArray - Cast a JsonValue to a JsonObjectArray.
-
createStreamSubscriptionFinalizer(
) → Finalizer< StreamSubscription> -
durationAdd(
Duration? a, Duration? b, {bool nullIsZero = false}) → Duration? -
Returns
a+b, ornullif either operand isnull. -
durationEqual(
Duration? a, Duration b) → bool? -
Returns
a == b, ornullwhenaisnull. -
durationGt(
Duration? a, Duration b) → bool? -
Returns
a > b, ornullwhenaisnull. -
durationGte(
Duration? a, Duration b) → bool? -
Returns
a >= b, ornullwhenaisnull. -
durationLt(
Duration? a, Duration b) → bool? -
Returns
a < b, ornullwhenaisnull. -
durationLte(
Duration? a, Duration b) → bool? -
Returns
a <= b, ornullwhenaisnull. -
durationMax(
Duration? a, Duration? b, {bool ignoreNull = true}) → Duration? -
Returns the larger of
aandb. -
durationMin(
Duration? a, Duration? b, {bool ignoreNull = true}) → Duration? -
Returns the smaller of
aandb. -
durationSubtract(
Duration? a, Duration? b, {bool nullIsZero = false}) → Duration? -
Returns
a−b, ornullif either operand isnull. -
jsonGet(
JsonObject object, dynamic path) → JsonValue? -
lodash.get-like accessor for deeply nested JsonObject values.
Typedefs
-
JsonArray
= List<
JsonValue?> - A JSON array that may contain any JsonValue element.
- JsonCollection = JsonObjectArray
- @deprecated Use JsonObjectArray instead.
- JsonMap = JsonObject
- JsonNumber = num
-
A JSON number. May be decoded as
intordoublebydart:convert. -
JsonObject
= Map<
JsonString, JsonValue?> -
JsonObjectArray
= List<
JsonObject> - A JSON array whose elements are all JsonObjects.
- JsonString = String
- JsonValue = Object?
-
UriQueryParameters
= Map<
String, Object> - URI query parameters map.