dco_decode_server_state_error method
Implementation
@protected
ServerStateError dco_decode_server_state_error(dynamic raw) {
// Codec=Dco (DartCObject based), see doc to use other codecs
final arr = raw as List<dynamic>;
if (arr.length != 1)
throw Exception('unexpected arr length: expect 1 but see ${arr.length}');
return ServerStateError(
field0: dco_decode_String(arr[0]),
);
}