KaomojiLumberdash class
KaomojiLumberdash is an abstraction of LumberdashClient that simulates a conversation with a bot, Pong, that likes to use kaomojis.
- Inheritance
-
- Object
- LumberdashClient
- KaomojiLumberdash
Constructors
- KaomojiLumberdash({void printCall(Object?) = print})
- If you desire you can pass a function that will be responsible for printing Pong messages.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
logError(
dynamic exception, [dynamic stacktrace]) → void -
Pong will alert the developer that an error arose, requiring the program to be fixed ASAP.
override
-
logFatal(
String message, [Map< String, String> ? extras]) → void -
Pong alerts the developer that a fatal error has just occurred and that it might
be the last messages that he and the developer exchange before the program halts.
override
-
logMessage(
String message, [Map< String, String> ? extras]) → void -
Pong indicates the developer that he received a friendly message, which he will proceed to read.
override
-
logWarning(
String message, [Map< String, String> ? extras]) → void -
Pong is worried because we was notified of a problem in the program!
override
-
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