Log class

Available extensions
Annotations
  • @CopyWith.new()

Constructors

Log({String? translationKey, String? msg, dynamic error, StackTrace? stacktrace, LogLevel logLevel = LogLevel.info})
Log.add()
factory
Log.d({String? translationKey, String? msg, StackTrace? stacktrace})
Log.e(String? msg, {String? translationKey, StackTrace? stacktrace, dynamic error})
Log.empty()
factory
Log.fromJson(Map<String, Object?>? data)
factory
Log.i(String? msg, {String? translationKey, StackTrace? stacktrace})
Log.w({String? translationKey, String? msg, StackTrace? stacktrace})

Properties

copyWith → _$LogCWProxy

Available on Log, provided by the $LogCopyWith extension

Returns a callable class that can be used as follows: instanceOfLog.copyWith(...) or like so:instanceOfLog.copyWith.fieldName(...).
no setter
error → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
logLevel LogLevel
final
msg String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stacktrace StackTrace?
final
translationKey String?
Use this if you would like to display a message from a translation file on the UI, where msg can be used for logging purposes
final

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