FailedScanning.fromMap constructor
FailedScanning.fromMap(
- Map map
Implementation
factory FailedScanning.fromMap(Map<dynamic, dynamic> map) {
final String type = map['type'];
final dynamic errorCode = map['errorCode'];
return FailedScanning(type, errorCode);
}