StatusMessage class Null safety

Represents a contextual status message.

The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message Location not found.

Constructors

StatusMessage({FormatMessage? description, bool? isError, String? refersTo})
StatusMessage.fromJson(Map _json)

Properties

description FormatMessage?
Status message text.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isError bool?
Distinguishes errors from informational messages.
read / write
refersTo String?
Reference to which the message applies. Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited