MsgUpdateUserAllocation.deserialize constructor

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

Implementation

factory MsgUpdateUserAllocation.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return MsgUpdateUserAllocation(
    admin: decode.getString<String?>(1),
    airdropId: decode.getString<String?>(2),
    userAddress: decode.getString<String?>(3),
    allocations: decode.getListOrEmpty<String>(4),
  );
}