perform method

  1. @override
void perform()
override

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.

Implementation

@override
void perform() {
  VxAppData().isDarkMode = isDarkMode;
}