GenericIdData constructor

GenericIdData(
  1. Map dataMap
)

Implementation

GenericIdData(Map<dynamic, dynamic> dataMap) : super(dataMap) {
  birthdate = dataMap.getValue<String>(Inbound.birthdate);
  documentNumber = dataMap.getValue<String>(Inbound.documentNumber);
  expiration = dataMap.getValue<String>(Inbound.expiration);
  firstName = dataMap.getValue<String>(Inbound.firstName);
  lastName = dataMap.getValue<String>(Inbound.lastName);
  gender = dataMap.getValue<String>(Inbound.gender);
  imageUrl = dataMap.getValue<String>(Inbound.imageUrl);
  nationality = dataMap.getValue<String>(Inbound.nationality);
  placeOfIssue = dataMap.getValue<String>(Inbound.placeOfIssue);
  serial = dataMap.getValue<String>(Inbound.serial);
}