createInstance method
$CaptureMovieFileOutput
createInstance(
- TypeChannelMessenger messenger,
- List<
Object?> arguments
override
Instantiates a new object with arguments
.
Implementation
@override
$CaptureMovieFileOutput createInstance(
TypeChannelMessenger messenger,
List<Object?> arguments,
) {
final String constructorName = arguments[0] as String;
switch (constructorName) {
case '':
return $create$(
messenger,
);
}
throw ArgumentError.value(
constructorName,
'constructorName',
'Unable to invoke constructor of',
);
}