tryDecodeGRpcErrorResponse function
Implementation
Resp.GRpcErrorResponse? tryDecodeGRpcErrorResponse(String text) {
try {
return Resp.GRpcErrorResponse.fromJson(JSON.decode(text));
} catch (e) {
return null;
}
}
Resp.GRpcErrorResponse? tryDecodeGRpcErrorResponse(String text) {
try {
return Resp.GRpcErrorResponse.fromJson(JSON.decode(text));
} catch (e) {
return null;
}
}