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