whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({})
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(File file)? file,
TResult? Function(String url)? network,
}) =>
throw _privateConstructorUsedError;