MsgGovScriptJSON.deserialize constructor

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

Implementation

factory MsgGovScriptJSON.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return MsgGovScriptJSON(
    authority: decode.getString<String?>(1),
    sender: decode.getString<String?>(2),
    codeBytes: decode.getBytes<List<int>?>(3),
    typeArgs: decode.getListOrEmpty<String>(4),
    args: decode.getListOrEmpty<String>(5),
  );
}