DnaCeremonyIntervalsResponse.fromJson constructor

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

Implementation

factory DnaCeremonyIntervalsResponse.fromJson(Map<String, dynamic> json) =>
    DnaCeremonyIntervalsResponse(
      jsonrpc: json["jsonrpc"],
      id: json["id"],
      error: json["error"] != null
          ? DnaCeremonyIntervalsResponseError.fromJson(json["error"])
          : null,
      result: json["result"] != null
          ? DnaCeremonyIntervalsResponseResult.fromJson(json["result"])
          : null,
    );