QueryAddressUnbondingsResponse.deserialize constructor

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

Implementation

factory QueryAddressUnbondingsResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryAddressUnbondingsResponse(
    addressUnbondings:
        decode
            .getListOfBytes(1)
            .map(
              (b) => stride_stakeibc_address_unbonding
                  .AddressUnbonding.deserialize(b),
            )
            .toList(),
  );
}