RemoteLog class

A class representing a remote log entry.

Constructors

RemoteLog.new({required String logLevel, String? tag, required String message, String? throwable, required String time})
Creates an instance of RemoteLog with the given properties.

Properties

hashCode int
The hash code for this object.
no setterinherited
logLevel String
The level of the log (e.g., DEBUG, INFO, WARN, ERROR).
getter/setter pair
message String
The log message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
An optional tag associated with the log entry.
getter/setter pair
throwable String?
An optional throwable associated with the log entry, typically used for error logs.
getter/setter pair
time String
The time when the log entry was created.
final

Methods

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

Operators

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