PaymentCard class Null safety

Payment card domain entity

Implementers

Constructors

PaymentCard({required String id, required String userId, required String number, required int expirationMonth, required int expirationYear, required int cvc})

Properties

cvc int
read / write
expirationMonth int
read / write
expirationYear int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
Map the card type to a logo resource asset
read-only
number String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type → dynamic
read-only
userId String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited