DiagnosticsProperty class sealed

One typed, severity-bearing property on a diagnostics tree node.

Constructors

DiagnosticsProperty.double({required String name, required DiagnosticsLevel level, required double value})
const
factory
DiagnosticsProperty.duration({required String name, required DiagnosticsLevel level, required Duration value})
const
factory
DiagnosticsProperty.enumValue({required String name, required DiagnosticsLevel level, required String value, required String enumType})
const
factory
DiagnosticsProperty.flag({required String name, required DiagnosticsLevel level, required bool value})
const
factory
DiagnosticsProperty.fromJson(Map<String, Object?> json)
factory
DiagnosticsProperty.int({required String name, required DiagnosticsLevel level, required int value})
const
factory
DiagnosticsProperty.object({required String name, required DiagnosticsLevel level, required List<DiagnosticsProperty> properties})
const
factory
DiagnosticsProperty.reference({required String name, required DiagnosticsLevel level, required ReferenceKind referenceKind, required String value})
const
factory
DiagnosticsProperty.string({required String name, required DiagnosticsLevel level, required String value})
const
factory
DiagnosticsProperty.timestamp({required String name, required DiagnosticsLevel level, required DateTime value})
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
level → DiagnosticsLevel
no setter
name → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited