fromJson method

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

Implementation

void fromJson(Map<String, dynamic> json) {
  type = StringConverter.toNullableString(json['type']);
  category = StringConverter.toNullableString(json['category']);
  status = IntegerConverter.toNullableInteger(json['status']);
  code = StringConverter.toNullableString(json['code']);
  message = StringConverter.toNullableString(json['message']);
  details = StringValueMap.fromValue(json['details']);
  correlation_id = StringConverter.toNullableString(json['correlation_id']);
  cause = StringConverter.toNullableString(json['cause']);
  stack_trace = StringConverter.toNullableString(json['stack_trace']);
}