startCalibration method

  1. @override
Future<void> startCalibration(
  1. CalibrationMode calibrationMode,
  2. CalibrationCriteria calibrationCriteria,
  3. Rect? region,
  4. bool usePreviousCalibration,
)
override

Implementation

@override
Future<void> startCalibration(
    CalibrationMode calibrationMode,
    CalibrationCriteria calibrationCriteria,
    Rect? region,
    bool usePreviousCalibration) async {
  final methodName = EyedidMethodName.startCalibration.name;
  final argumentMap = _generateCalibrationOptionMap(
      calibrationMode, calibrationCriteria, region, usePreviousCalibration);

  await methodChannel.invokeMethod(methodName, argumentMap);
}