Log class

The most basic Log.

Used to contain the main data of the Log

Inheritance

Constructors

Log({required String message, Object? data})
The most basic Log.

Properties

data Object?
The data linked to the log
final
hashCode int
The hash code for this object.
no setterinherited
message String
The log's message
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? message, Object? data}) Log
Creates a copy of the current log with new data.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the current class to JSON
inherited
toMap() Map<String, dynamic>
Converts the current class to a Map
override
toString() String
A string representation of this object.
inherited

Operators

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