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