SubmitScanResponse.fromMap constructor
Implementation
factory SubmitScanResponse.fromMap(Map<String, dynamic> map) {
return SubmitScanResponse(
token: map['token'] ?? '',
isSuccess: map['isSuccess'] ?? false,
msg: map['msg'] ?? '',
scanId: map['scanId'] ?? '',
);
}