AmendmentQuote class

Constructors

AmendmentQuote({String? amendmentRequestId, DateTime? processedAt, DateTime? expiresAt, List<AmendmentQuoteOption> options = const []})
Returns a new AmendmentQuote instance.

Properties

amendmentRequestId ↔ String?
The quote id to send when confirming.
getter/setter pair
expiresAt ↔ DateTime?
When the quote expires (UTC); confirm it before then.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
options ↔ List<AmendmentQuoteOption>
The priced options; confirm one by its id.
getter/setter pair
processedAt ↔ DateTime?
When the quote was made (UTC).
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) → AmendmentQuote?
Returns a new AmendmentQuote instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<AmendmentQuote>
mapFromJson(dynamic json) → Map<String, AmendmentQuote>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<AmendmentQuote>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.