BlocCreateLog class

Bloc created log model

Inheritance
Available extensions

Constructors

BlocCreateLog.new({required BlocBase bloc})

Properties

bloc → BlocBase
final
displayError String

Available on TalkerData, provided by the FieldsToDisplay extension

Displayed error of TalkerData
no setter
displayException String

Available on TalkerData, provided by the FieldsToDisplay extension

Displayed exception of TalkerData
no setter
displayMessage String

Available on TalkerData, provided by the FieldsToDisplay extension

Displayed message of TalkerData
no setter
displayStackTrace String

Available on TalkerData, provided by the FieldsToDisplay extension

Displayed stackTrace of TalkerData
no setter
error Error?
Error? error - error if it happened
finalinherited
exception Object?
Exception? exception - exception if it happened
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key String?
no setteroverride
logLevel LogLevel?
LogLevel logLevel - to control logging output
finalinherited
message String?
String message - message describes what happened
finalinherited
pen AnsiPen?
AnsiPen? pen - sets your own log color for console
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
StackTrace?] stackTrace - stackTrace if exception or error happened
finalinherited
time DateTime
Internal time when the log occurred
no setterinherited
title String?
Title of Talker log
getter/setter pairinherited

Methods

displayTime({TimeFormat timeFormat = TimeFormat.timeAndSeconds}) String

Available on TalkerData, provided by the FieldsToDisplay extension

Displayed tile of TalkerData
displayTitleWithTime({TimeFormat timeFormat = TimeFormat.timeAndSeconds}) String

Available on TalkerData, provided by the FieldsToDisplay extension

Displayed title of TalkerData
generateTextMessage({TimeFormat timeFormat = TimeFormat.timeAndSeconds}) String
Internal method that generates a complete message about the event
override
getFlutterColor(TalkerScreenTheme theme) Color

Available on TalkerData, provided by the TalkerDataFlutterExt extension

If key field is not provided trying to use color by LogLevel
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