whenOrNull<TResult extends Object?> method
Null safety
- {TResult? http( )?,
- TResult? formSubmit( )?}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(
String url,
Map<String, String> headers,
String? method,
String? bodyText,
List<int>? bodyBytes,
Map<String, Object>? bodyMap,
bool streamedResponse)?
http,
TResult? Function(String url, Map<String, String> headers, bool validate)?
formSubmit,
}) =>
throw _privateConstructorUsedError;