RequestConverter class abstract

This class is a base request converter definition, derive from this class and implement the toRow method, which responsibility is to convert the HttpRestRequest to RowResponse. The library ships with pre defined request converters such as MapToJsonRequestConverter, which converts the body Map provided by HttpRestRequest.body to JSON String.

Implementers

Constructors

RequestConverter()
RequestConverter.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

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

Operators

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