LogEntryModel class

Available extensions
Annotations
  • @JsonSerializable.new()

Constructors

LogEntryModel(String id, DateTime timestamp, String message, LogLevel level, String? category, String? tag, Map<String, dynamic>? metadata, Object? error, String? stackTrace, String? userId, String? sessionId)
const
LogEntryModel.fromJson(Map<String, dynamic> json)
factory

Properties

category → String?
final
error → Object?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
level → LogLevel
final
message → String
final
metadata → Map<String, dynamic>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String?
final
stackTrace → String?
final
tag → String?
final
timestamp → DateTime
final
userId → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity() → LogEntry

Available on LogEntryModel, provided by the LogEntryModelExtensions extension

toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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