LogRecord class

Represents a log message generated by the DownloadManager.

Contains the actual message and its associated severity level, which can be used for filtering or displaying logs appropriately.

Constructors

LogRecord.new({required String message, required LogLevel level})
Creates a new LogRecord with the given message and level.

Properties

hashCode int
The hash code for this object.
no setterinherited
level LogLevel
The severity level of the log message (e.g., debug, info, warning, error).
final
message String
The log message content.
final
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
toString() String
A string representation of this object.
inherited

Operators

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