ApexRequest class

This class represents the properties of rest request it allows to configure request's method, URL path by url, headers, requestConverterType which will convert the ApexRequest to RowRequest, responseConverterType which will convert the RowResponse to ApexResponse, and request encoding.

Constructors

ApexRequest({required Methods method, required String url, Type? requestConverterType, Type? responseConverterType, Map<String, String>? headers, dynamic body, Encoding? encoding})

Properties

body → dynamic
final
encoding Encoding?
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
method Methods
final
requestConverterType Type?
final
responseConverterType Type?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

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

Operators

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