FlipSubmitLongAnswersResponse.fromJson constructor

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

Implementation

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