toggle method

  1. @override
Future<void> toggle({
  1. required String id,
})
override

Implementation

@override
Future<void> toggle({
  required String id,
}) async {
  await methodChannel.invokeMethod<void>('toggle', <String, dynamic>{
    'id': id,
  });
}