MovieEntity constructor
MovieEntity({
- String? version,
- MovieParams? params,
- Map<
String, List< ? images,int> > - Iterable<
SpriteEntity> ? sprites, - Iterable<
AudioEntity> ? audios,
Implementation
factory MovieEntity({
$core.String? version,
MovieParams? params,
$core.Map<$core.String, $core.List<$core.int>>? images,
$core.Iterable<SpriteEntity>? sprites,
$core.Iterable<AudioEntity>? audios,
}) {
final _result = create();
if (version != null) {
_result.version = version;
}
if (params != null) {
_result.params = params;
}
if (images != null) {
_result.images.addAll(images);
}
if (sprites != null) {
_result.sprites.addAll(sprites);
}
if (audios != null) {
_result.audios.addAll(audios);
}
return _result;
}