RecordRequest constructor

RecordRequest({
  1. String? name,
  2. Duration? duration,
})

Implementation

factory RecordRequest({
  $core.String? name,
  $42.Duration? duration,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (duration != null) {
    $result.duration = duration;
  }
  return $result;
}