NmResponseEffect class

Response effect.

Constructors

NmResponseEffect({required NmResponseField field, required NmParameterValueSource source, String? captureNameOrIndex, String? fixedValue, List<NmResponseNormalizer> normalizers = const [NmResponseNormalizer.trim]})
Creates a NmResponseEffect.
const

Properties

captureNameOrIndex → String?
Regular-expression group for capture.
final
field → NmResponseField
Which value the effect sets.
final
fixedValue → String?
The value for fixedValue.
final
hashCode → int
The hash code for this object.
no setteroverride
normalizers → List<NmResponseNormalizer>
Applied in order before the value is stored.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → NmParameterValueSource
Where the value comes from.
final

Methods

copyWith({NmResponseField? field, NmParameterValueSource? source, String? captureNameOrIndex, String? fixedValue, List<NmResponseNormalizer>? normalizers}) → NmResponseEffect
Copy with.
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.
override