MaskedText class

Result of maskCNICs.

Constructors

MaskedText({required String text, required int count})
Creates a masked text value.
const

Properties

count → int
How many CNICs were masked.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The text with every CNIC masked (or replaced, with replacement).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
JSON form, with the same keys as the npm package.
toString() → String
A string representation of this object.
override

Operators

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