ResponseConverter class abstract

This class is a base response converter definition, derive from this class and implement the fromRow method, which responsibility is to convert the RowResponse to ApexResponse. The library ships with pre defined response converters such as JsonToMapResponseConverter, which converts the received body bytes from RowResponse.bodyBytes to Map representation of JSON result.

Implementers

Constructors

ResponseConverter()
ResponseConverter.empty()
factory

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

fromRow(RowResponse rowResponse) ApexResponse
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