Request<T> class

Annotations
  • @freezed

Constructors

Request({required String method, required Uri uri, Map<String, dynamic>? headers, T? body, Stream<List<int>>? requestBody})
factory
Request.uri(String uri, {String method = "GET", Map<String, dynamic>? queryParameters, Map<String, dynamic>? headers, T? body})
factory

Properties

body → T?
no setterinherited
copyWith → $RequestCopyWith<T, Request<T>>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
no setterinherited
method String
no setterinherited
requestBody Stream<List<int>>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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