Loggable class abstract

Interface for objects that can be passed directly to Logger.send.

If toJson is implemented, it can be passed directly.

The type becomes the name of the log as it is, and Map converted by toJson becomes a parameter.

Logger.sendに直接渡すことのできるオブジェクト用のインターフェース。

toJsonを実装していれば直接渡すことができます。

型がそのままログの名前となりtoJsonで変換されたMapがパラメーターとなります。

Available Extensions

Constructors

Loggable()
Interface for objects that can be passed directly to Logger.send.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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, dynamic>
You can convert from Json to pass parameters.
toString() String
A string representation of this object.
inherited

Operators

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