toggle method

Future toggle()

Implementation

Future toggle() async {
  if (_mode.isLight) {
    return await setDark();
  }
  return await setLight();
}