calibrate method

  1. @override
void calibrate(
  1. String flowName,
  2. int? maxDelay,
  3. Map<String, dynamic>? customSignals,
  4. ValueSetter<int> onContextReady,
)
override

Implementation

@override
void calibrate(
    String flowName,
    int? maxDelay,
    Map<String, dynamic>? customSignals,
    ValueSetter<int> onContextReady) async {
  final callbackId = _getCallbackId(onContextReady);
  methodChannel.invokeMethod<void>('calibrate', <String, dynamic>{
    'flowName': flowName,
    'maxDelay': maxDelay,
    'customSignals': customSignals,
    'callbackId': callbackId,
  });
}