mockOn property

bool get mockOn

Implementation

bool get mockOn => _mockOn;
set mockOn (bool on)

Implementation

set mockOn(bool on) {
  SharedPreferences.getInstance()
      .then((value) => value.setBool('mockOn', on).then((value) {
            _mockOn = on;
            channel.invokeMethod('enableMock', _mockOn);
          }));
}