toMap property
Implementation
Map<String, String?> get toMap {
Map<String, String?> verificationInfoMap = new Map<String, String?>();
if (code != null) {
verificationInfoMap['code'] = code.toString();
}
if (message != null) {
verificationInfoMap['message'] = message;
}
if (verificationStatus != null) {
verificationInfoMap['verificationStatus'] = verificationStatus;
}
return verificationInfoMap;
}