LatestError.fromJson constructor

LatestError.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory LatestError.fromJson(Map<String, Object?> json) => LatestError(
      code: json["code"] == null ? null : json["code"] as String,
      param: json["param"] == null ? null : json["param"] as String,
      message: json["message"] == null ? null : json["message"] as String,
      retryable: json["retryable"] == null ? null : json["retryable"] as bool,
      at: json["at"] == null ? null : decodeDateTime(json["at"]),
    );