core_model library

Classes

CancelToken
A token used to cancel one or more in-flight operations.
IDeviceInfo
What an application knows about the device and build it runs on.
Lease
Monotonic ownership lease over a shared resource.
RetryBackoff
Transport-agnostic retry backoff policy for unstable (mobile/cellular) networks.

Extensions

GuidX on Guid
Sentinels for a Guid.

Typedefs

Guid = String
A UUID carried as its string form.
RetryNotifier = void Function(Object error, int attempt, Duration delay)
Called before a retry sleeps: the error behind the failed attempt and the delay chosen.
VoidCallback = void Function()
A platform-neutral void callback, so a package that uses it stays free of dart:ui.