Log class

Constructors

Log.new(String message, {int code = 400, LogType logType = LogType.info})
Log.fromJson(String source)
factory
Log.fromMap(Map<String, dynamic> map)
factory
Log.fromObject(Object? obj, {dynamic code = 400, dynamic logType = LogType.info})
factory

Properties

canDebugPrint bool
final
code int
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
logType LogType
getter/setter pair
message String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

color() Color
copyWith({String? message, int? code, bool? canDebugPrint}) Log
icon() IconData
log() Log
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show([BuildContext? context]) Log
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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