RTClientError.fromJson constructor

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

Implementation

factory RTClientError.fromJson(Map<String, dynamic> json) {
  return RTClientError(
    statusCode: json['status_code'] as int,
    timestamp: json['timestamp'] as String,
    path: json['path'] as String,
    message: json['message'] as String,
    detailedMessage: json['detailed_message'] as String,
  );
}