FailedScanning.fromMap constructor

FailedScanning.fromMap(
  1. Map map
)

Implementation

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