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