UDrivingLicenceNegativePointResponse.fromMap constructor
UDrivingLicenceNegativePointResponse.fromMap(
- Map<String, dynamic> json
)
Implementation
factory UDrivingLicenceNegativePointResponse.fromMap(Map<String, dynamic> json) => UDrivingLicenceNegativePointResponse(
point: json["point"],
allowable: json["allowable"],
ruleId: json["ruleId"],
isCached: json["isCached"] ?? false,
cachedAt: json["cachedAt"] == null ? null : DateTime.tryParse(json["cachedAt"]),
cacheExpiresAt: json["cacheExpiresAt"] == null ? null : DateTime.tryParse(json["cacheExpiresAt"]),
);