VxDarkModeMutation class

Inheritance

Constructors

VxDarkModeMutation(bool isDarkMode)

Properties

hashCode int
The hash code for this object.
no setterinherited
isDarkMode bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status VxStatus?
Status of this current mutation
getter/setter pairinherited
store VxStore?
Reference to the current instance of Store
no setterinherited

Methods

next(VxMutationBuilder mutationBuilder) → void
Adds the mutationBuilder to the list.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onException(dynamic e, StackTrace s) → void
onException callback receives all the errors with their StackTrace. If assertions are on, which usually means app is in debug mode, then both exception and stack trace is printed. This can be overridden by the mutation implementation.
inherited
perform() → void
This function implements the logic of the mutation. It can return any value. If it is a Future it will be awaited. If it is VxEffects object, result will be piped to its VxEffects.fork call.
override
toString() String
A string representation of this object.
inherited

Operators

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