ICAONFCAccessKey.fromJson constructor
Returns a ICAONFCAccessKey type from a JSON
Implementation
factory ICAONFCAccessKey.fromJson(Map<String, dynamic> data) {
var self = ICAONFCAccessKey._();
self._map["documentType"] = data['documentType'];
self._map["documentNumber"] = data['documentNumber'] ??
{throw ArgumentError('documentNumber should not be null')};
self._map["dateOfBirth"] = data['dateOfBirth'] ??
{throw ArgumentError('dateOfBirth should not be null')};
self._map["dateOfExpiry"] = data['dateOfExpiry'] ??
{throw ArgumentError('dateOfExpiry should not be null')};
return self;
}