serialize method
Implementation
@override
void serialize(Serializer serializer) {
serializer.serializeU32AsUleb128(0);
serializer.serializeStr(name);
serializer.serializeStr(doc);
serializer.serializeBytes(code);
serializeVector<TypeArgumentABI>(tyArgs, serializer);
serializeVector<ArgumentABI>(args, serializer);
}