whenOrNull<TResult extends Object?> method
Null safety
- {TResult? bytes( )?,
- TResult? asset( )?,
- TResult? network( )?}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(List<int> bytes, double scale)? bytes,
TResult? Function(String path, String? package)? asset,
TResult? Function(String url, double scale, Map<String, String>? headers)?
network,
}) =>
throw _privateConstructorUsedError;