setDistanceToTriggerSync method

  1. @override
Future<void> setDistanceToTriggerSync(
  1. int distanceToTriggerSync
)

Set the distance to trigger a sync in dips.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<void> setDistanceToTriggerSync(int distanceToTriggerSync) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('distanceToTriggerSync', () => distanceToTriggerSync);
  await channel?.invokeMethod('setDistanceToTriggerSync', args);
}