toggle method

  1. @override
Future<void> toggle()
override

Implementation

@override
Future<void> toggle() async {
  await methodChannel.invokeMethod('toggle');
}