AudioEntity constructor

AudioEntity({
  1. String? audioKey,
  2. int? startFrame,
  3. int? endFrame,
  4. int? startTime,
  5. int? totalTime,
})

Implementation

factory AudioEntity({
  $core.String? audioKey,
  $core.int? startFrame,
  $core.int? endFrame,
  $core.int? startTime,
  $core.int? totalTime,
}) {
  final _result = create();
  if (audioKey != null) {
    _result.audioKey = audioKey;
  }
  if (startFrame != null) {
    _result.startFrame = startFrame;
  }
  if (endFrame != null) {
    _result.endFrame = endFrame;
  }
  if (startTime != null) {
    _result.startTime = startTime;
  }
  if (totalTime != null) {
    _result.totalTime = totalTime;
  }
  return _result;
}