setSyncFrequency static method
Implementation
static Future setSyncFrequency(int frequency) async {
try {
await _platform.invokeListMethod(
'setSyncFrequency', <String, dynamic>{'frequency': frequency});
} on PlatformException catch (e) {
print("Error on stop periodic sync ${e.message}");
}
}