ErrorDetails.fromJson constructor
Creates a ErrorDetails instance from a JSON representation.
Implementation
ErrorDetails.fromJson(Map<String, dynamic> json) {
requestId = json['requestId'];
date = json['date'] == null ? null : DateTime.parse(json['date']);
}