when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult video(),
- required TResult image(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(String? url, File? file) video,
required TResult Function(String? url, File? file) image,
}) =>
throw _privateConstructorUsedError;