mergeAdaptiveRomPilotCache method

  1. @override
Future<int> mergeAdaptiveRomPilotCache(
  1. List<Map<String, dynamic>> snapshots
)
override

Restore saved adaptive ROM objects after configure, between workouts.

Implementation

@override
Future<int> mergeAdaptiveRomPilotCache(
  List<Map<String, dynamic>> snapshots,
) async {
  return await methodChannel.invokeMethod<int>('mergeAdaptiveRomPilotCache', {
        'snapshots': snapshots,
      }) ??
      0;
}