LogModel class

Response DTO of a single log model.

Implemented types
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

LogModel({String id = "", String created = "", String updated = "", int level = 0, String message = "", Map<String, dynamic> data = const {}})

Properties

created String
getter/setter pair
data Map<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
level int
getter/setter pair
message String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated String
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) LogModel