QueryCosmosAccountResponse.deserialize constructor

QueryCosmosAccountResponse.deserialize(
  1. List<int> bytes
)

Implementation

factory QueryCosmosAccountResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryCosmosAccountResponse(
    cosmosAddress: decode.getString<String?>(1),
    sequence: decode.getBigInt<BigInt?>(2),
    accountNumber: decode.getBigInt<BigInt?>(3),
  );
}