PAN has all the letters in uppercase. So this function will return the provided PAN by making each letter as uppercase.
e.g: aaaaa9999a to AAAAA9999A
String? format(String? pan) { return pan?.toUpperCase(); }