PANValidator class

Constructors

PANValidator()
validate the PAN.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

format(String? pan) String?
PAN has all the letters in uppercase. So this function will return the provided PAN by making each letter as uppercase.
isValid(String? pan) bool
function to check if the PAN has valid format or not.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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