fromMap static method
Implementation
static PaymentResponse fromMap(Map<dynamic, dynamic> map) {
bool? isSuccess = map["isSuccess"];
int status = int.parse(map['status'].toString());
String? token = map["token"];
String? phoneNumber = map["phoneNumber"];
String? data = map["data"];
String? message = map["message"];
String? extra = "";
extra = map["extra"];
return new PaymentResponse(isSuccess, status, token, phoneNumber, data, message, extra);
}