Instrument class
Constructors
- Instrument({required String id, required PaymentMethod type, required String fingerprint, required int expiryMonth, required int expiryYear, required String last4, required String bin, required String scheme, bool? isDefault})
- Instrument.fromJson(String source)
-
factory
-
Instrument.fromMap(Map<
String, dynamic> map) -
factory
Properties
- bin → String
-
final
- expiryMonth → int
-
final
- expiryYear → int
-
final
- fingerprint → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- isDefault → bool?
-
final
- last4 → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String
-
final
- type → PaymentMethod
-
final
Methods
-
copyWith(
{String? id, PaymentMethod? type, String? fingerprint, int? expiryMonth, int? expiryYear, String? last4, String? bin, String? scheme, bool? isDefault}) → Instrument -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override