startRecording method

  1. @override
Future<void> startRecording({
  1. required String outputPath,
  2. int fps = 30,
  3. int resolutionDivisor = 1,
})
override

Implementation

@override
Future<void> startRecording({
  required String outputPath,
  int fps = 30,
  int resolutionDivisor = 1,
}) async {
  await methodChannel.invokeMethod<void>(
    'startRecording',
    <String, Object>{
      'outputPath': outputPath,
      'fps': fps,
      'resolutionDivisor': resolutionDivisor,
    },
  );
}