setInterval method

  1. @override
Future<void> setInterval({
  1. required String id,
  2. required int interval,
})
override

Implementation

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