maybeWhen<TResult extends Object?> method
Null safety
- {TResult bytes( )?,
- TResult asset( )?,
- TResult network( )?,
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;