MsgAddValidators.deserialize constructor
Implementation
factory MsgAddValidators.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return MsgAddValidators(
creator: decode.getString<String?>(1),
hostZone: decode.getString<String?>(2),
validators:
decode
.getListOfBytes(3)
.map((b) => stride_stakeibc_validator.Validator.deserialize(b))
.toList(),
);
}