ErrorDetails.fromJson constructor

ErrorDetails.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ErrorDetails.fromJson(Map<String, dynamic> json) {
  requestId = json['requestId'];
  date = json['date'] == null ? null : DateTime.parse(json['date']);
}