parse static method
Implementation
static ResponseRF parse(dynamic response) {
return ResponseRF(
Command: response['Command'],
Tag: response['Tag'],
Success: response['Success'],
Message: response['Message'] == 'ADD has been Successful'
? "Data saved successfully"
: response['Message'].toString(),
ServerRecordId: response['ServerRecordId'].toString(),
RecordId: response['RecordId'].toString(),
TotalRecord: response['TotalRecord'],
PageNo: response['PageNo'],
PageSize: response['PageSize'],
ApiPacket: response['ApiPacket'],
Status: response['Status'],
);
}