FormSubmitNetworkRequest class Null safety

Implemented types

Constructors

FormSubmitNetworkRequest({required String url, Map<String, String> headers, bool validate})
const
factory
FormSubmitNetworkRequest.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$FormSubmitNetworkRequestCopyWith<_$FormSubmitNetworkRequest>
@JsonKey(ignore: true), read-only, override
hashCode int
The hash code for this object.
read-only, inherited
headers Map<String, String>
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
read-only, override
validate bool
read-only

Methods

map<TResult extends Object?>({required TResult http(NetworkHttpRequest value), required TResult formSubmit(FormSubmitNetworkRequest value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult? http(NetworkHttpRequest value)?, TResult? formSubmit(FormSubmitNetworkRequest value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult http(NetworkHttpRequest value)?, TResult formSubmit(FormSubmitNetworkRequest value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult http(String url, Map<String, String> headers, String? method, String? bodyText, List<int>? bodyBytes, Map<String, Object>? bodyMap, bool streamedResponse)?, TResult formSubmit(String url, Map<String, String> headers, bool validate)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult http(String url, Map<String, String> headers, String? method, String? bodyText, List<int>? bodyBytes, Map<String, Object>? bodyMap, bool streamedResponse), required TResult formSubmit(String url, Map<String, String> headers, bool validate)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult? http(String url, Map<String, String> headers, String? method, String? bodyText, List<int>? bodyBytes, Map<String, Object>? bodyMap, bool streamedResponse)?, TResult? formSubmit(String url, Map<String, String> headers, bool validate)?}) → TResult?
@optionalTypeArgs, inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited