FrogRequestMapper class

Constructors

FrogRequestMapper(PluggableMapper mapper)

Properties

from Type
Gets the source type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mapper → PluggableMapper
The parent mapper instance
finalinherited
name String?
The optional name of the mapper
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to Type
Gets the target type
no setterinherited

Methods

isMapperFor<X extends Object, Y extends Object>(String? name) bool
Checks if this mapper can handle a specific mapping
inherited
map(RequestContext source) → PHttpRequest
Throws an exception if called, as this is an async mapper
inherited
mapAsync(RequestContext source) Future<PHttpRequest>
Asynchronously maps a source object to the target type
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

Static Properties

formUrlEncodedContentType ContentType
final
multipartFormDataContentType ContentType
Content-Type: multipart/form-data
final
octetStreamDataContentType ContentType
application: octet-stream
final

Static Methods

all(PluggableMapper mapper) List<Mapper<Object, Object>>