RequestsClient class

Annotations
  • @immutable

Constructors

RequestsClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
delete(Uri url, {required RequestBody? body, List<Header> headers = const [], Map<String, String> params = const {}}) Future<Response>
get(Uri url, {List<Header> headers = const [], Map<String, String> params = const {}}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(Uri url, {required RequestBody? body, List<Header> headers = const [], Map<String, String> params = const {}}) Future<Response>
put(Uri url, {required RequestBody? body, List<Header> headers = const [], Map<String, String> params = const {}}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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