when<TResult extends Object?> method
TResult
when<TResult extends Object?>({})
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(File file) file,
required TResult Function(Uri uri) network,
}) =>
throw _privateConstructorUsedError;