Log class
The most basic Log.
Used to contain the main data of the Log
- Inheritance
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
- timestamp ↔ DateTime
-
The time the log was created in milliseconds
latefinal
Methods
-
copyWith(
{String? message, Object? data, DateTime? timestamp}) → 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