dco_decode_account_info method

  1. @protected
AccountInfo dco_decode_account_info(
  1. dynamic raw
)
override

Implementation

@protected
AccountInfo dco_decode_account_info(dynamic raw) {
  // Codec=Dco (DartCObject based), see doc to use other codecs
  final arr = raw as List<dynamic>;
  if (arr.length != 2) throw Exception('unexpected arr length: expect 2 but see ${arr.length}');
  return AccountInfo(accId: dco_decode_i_32(arr[0]), statusCode: dco_decode_i_32(arr[1]));
}