RecordingFile constructor

RecordingFile({
  1. int? duration,
  2. double? size,
  3. String? filename,
  4. String? location,
})

Implementation

factory RecordingFile({
  $core.int? duration,
  $core.double? size,
  $core.String? filename,
  $core.String? location,
}) {
  final $result = create();
  if (duration != null) {
    $result.duration = duration;
  }
  if (size != null) {
    $result.size = size;
  }
  if (filename != null) {
    $result.filename = filename;
  }
  if (location != null) {
    $result.location = location;
  }
  return $result;
}