PaymentCardEntity class
A payment card entity extracted from text.
Constructors
- PaymentCardEntity(String rawValue, {required PaymentCardNetwork network, required String number})
- Constructor to create an instance of PaymentCardEntity.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- network → PaymentCardNetwork
-
The payment card network.
final
- number → String
-
The payment card number in canonical form.
final
- rawValue → String
-
The string representation of the entity.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → EntityType
-
The type of an extracted entity.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited