GenericIdExtractionResult constructor

GenericIdExtractionResult(
  1. Map dataMap
)

Implementation

GenericIdExtractionResult(Map<dynamic, dynamic> dataMap) : super(dataMap) {
  Map<dynamic, dynamic>? frontDataMap =
      dataMap.getValue<Map<dynamic, dynamic>>(Inbound.genericIdFrontData);
  Map<dynamic, dynamic>? backDataMap =
      dataMap.getValue<Map<dynamic, dynamic>>(Inbound.genericIdBackData);
  genericIdFrontData =
      frontDataMap != null ? GenericIdFrontData(frontDataMap) : null;
  genericIdBackData =
      backDataMap != null ? GenericIdBackData(backDataMap) : null;
}