stopLocalRecord method

Future<bool> stopLocalRecord()

Stop local recording

Returns true if recording stopped successfully

Implementation

Future<bool> stopLocalRecord() async {
  try {
    final bool result = await _enhancedChannel.invokeMethod('stopLocalRecord') ?? false;
    return result;
  } catch (e) {
    ezvizLog('Error stopping local record: $e');
    return false;
  }
}