MessageLog class

A container for log information.

Mixed in types

Constructors

MessageLog({required String id, String? message, Map<String, dynamic>? data})
A container for log information.

Properties

data Map<String, dynamic>
A collection of data for providing more context.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier which tells where the message comes from.
final
message String?
The main information of the log.
getter/setter pair
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({String? id, String? message, Map<String, dynamic>? data}) MessageLog
Creates a copy of this object but replacing the old values with the new values, if any.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a formatted string message log.
override

Operators

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