TaskResult class
Result object indicating a Task was executed successfully or not.
isOk is true when task is finished without exceptions or false when not. message contains the exception message or is null when task was successful.
Constructors
- TaskResult({required bool isOk, String? message})
-
Create a new result with a message if there was an exception.
const
Properties
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