ModuleConfig.deserialize constructor
Implementation
factory ModuleConfig.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return ModuleConfig(
name: decode.getString<String?>(1),
config: decode.messageTo<google_protobuf_any.Any?>(
2,
(b) => google_protobuf_any.Any.deserialize(b),
),
golangBindings:
decode
.getListOfBytes(3)
.map((b) => GolangBinding.deserialize(b))
.toList(),
);
}