genesis_foundation library
Dependency-free diagnostics protocols and typed, versioned tree snapshots.
Classes
- DiagnosticsBuilder
- Collects properties supplied by a diagnostic hook.
- DiagnosticsDoubleProperty
- DiagnosticsDurationProperty
- DiagnosticsEnumProperty
- DiagnosticsFlagProperty
- DiagnosticsIntProperty
- DiagnosticsObjectProperty
- DiagnosticsProperty
- One typed, severity-bearing property on a diagnostics tree node.
- DiagnosticsReferenceProperty
- DiagnosticsStringProperty
- DiagnosticsTimestampProperty
- TreeNode
- One semantic node in a TreeSnapshot.
- TreeSnapshot
- A complete versioned projection of the live diagnostics tree.
Enums
- DiagnosticsLevel
- Display severity attached to every diagnostics property.
- ReferenceKind
- Link target classifier for a DiagnosticsProperty.reference.
Mixins
- Diagnosticable
- An object that describes its diagnostic properties.
- DiagnosticableTree
- A Diagnosticable that also describes an ordered child tree.
Constants
- copyWithAbsent → const Object
Functions
-
checkedEnum<
T extends Enum> (List< T> values, String wireValue, String key) → T -
checkedJsonDateTime(
Map< String, Object?> json, String key) → DateTime -
checkedJsonList(
Map< String, Object?> json, String key) → List<Object?> -
checkedJsonMap(
Map< String, Object?> json, String key) → Map<String, Object?> -
checkedJsonMapValue(
Object? value, String key) → Map< String, Object?> -
checkedJsonNullableValue<
T> (Map< String, Object?> json, String key) → T? -
checkedJsonValue<
T> (Map< String, Object?> json, String key) → T -
listEquals<
T> (List< T> left, List<T> right) → bool
Exceptions / Errors
- CheckedFromJsonException
- A loud failure while decoding the diagnostics wire contract.