start method

Future<bool> start(
  1. String path,
  2. dynamic onRecordError(
    1. RecordErrorType
    )
)

start record

Implementation

Future<bool> start(String path, Function(RecordErrorType) onRecordError) async {
  _onRecordError = onRecordError;
  _status = RecordStatus.RECORDING;
  return await _channel.invokeMethod<bool>("start", {'path': path}) ?? true;
  // return true;
}