setSyncFrequency static method

Future setSyncFrequency(
  1. int frequency
)

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}");
  }
}