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