IdCheckModel.fromMap constructor
Implementation
factory IdCheckModel.fromMap(Map<String, dynamic> map) {
return IdCheckModel(
id: map['id_no'] ?? '',
message: map['message'] ?? map['msg'] ?? '',
isSuccess: map['isSuccess'] ?? false,
);
}