EncodeFrame constructor

EncodeFrame({
  1. List<int>? data,
  2. int? durationInTimescale,
})

Implementation

factory EncodeFrame({
  $core.List<$core.int>? data,
  $core.int? durationInTimescale,
}) {
  final $result = create();
  if (data != null) {
    $result.data = data;
  }
  if (durationInTimescale != null) {
    $result.durationInTimescale = durationInTimescale;
  }
  return $result;
}