ServerLogEntry class

ServerLogEntry

{ "time": int "kind": ServerLogEntryKind "data": String }

Clients may not extend, implement or mix-in this class.

Constructors

ServerLogEntry(int time, ServerLogEntryKind kind, String data)
ServerLogEntry.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

data String
The payload of the entry, the actual format is determined by the "kind" field.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
kind ServerLogEntryKind
The kind of the entry, used to determine how to interpret the "data" field.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time int
The time (milliseconds since epoch) at which the server created this log entry.
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override