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