Frame constructor
Implementation
factory Frame({
$core.List<$core.int>? data,
$core.double? duration,
$core.int? width,
$core.int? height,
}) {
final $result = create();
if (data != null) {
$result.data = data;
}
if (duration != null) {
$result.duration = duration;
}
if (width != null) {
$result.width = width;
}
if (height != null) {
$result.height = height;
}
return $result;
}