_common library

Classes

AnsiStyle
A class that provides a way to style strings with ANSI escape codes.
BootAudit
Persistent boot audit trail. Survives across app restarts (web reloads, PWA cold starts, native process restarts when backed by appropriate storage). The only thing that clears it is an explicit clear call.
BootAuditStorage
Synchronous key/value backend used by BootAudit to persist its trail across app boots.
Frame
A single stack frame. Each frame points to a precise location in Dart code.
Here
A utility class for capturing the current code location (file, line, column, member).
InMemoryBootAuditStorage
Process-local BootAuditStorage. Values live in a Map for the lifetime of the isolate and are lost on restart, which defeats the point of a boot audit trail — but it's the right default for tests and for non-web platforms where no persistent backend is wired yet.
JsonEncoder
This class converts JSON objects to strings.
LocalStorageBootAuditStorage
Non-web stub. Native and server platforms have no localStorage, so the audit trail is a no-op there. Use InMemoryBootAuditStorage (or supply a custom backend) when running outside the browser and you still want a trail.
Log
LogItem
Queue<E>
A Queue is a collection that can be manipulated at both ends. One can iterate over the elements of a queue through forEach or with an Iterator.
Uuid
uuid for Dart Author: Yulian Kuncheff Released under MIT License.

Constants

visibleForTesting → const Object
Annotation on a public declaration that should only be used in tests.

Functions

max<T extends num>(T a, T b) → T
Returns the larger of two numbers.

Typedefs

Glog = Log