InputMapping class

InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.

Constructors

InputMapping({Input<String>? fieldName, Input<InputMappingLocation>? location, Input<String>? methodMatch, Input<String>? value})
Creates a new InputMapping. fieldName The name of the field that is going to be injected. location The location where this mapping applies. methodMatch Regex to evaluate on method to decide if input applies. value A jsonPath expression to select an element.
const
InputMapping.fromMap(Map<String, dynamic> map)
factory

Properties

fieldName → Input<String>?
The name of the field that is going to be injected.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<InputMappingLocation>?
The location where this mapping applies.
final
methodMatch → Input<String>?
Regex to evaluate on method to decide if input applies.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Input<String>?
A jsonPath expression to select an element.
final

Methods

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

Operators

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