idlTpl top-level constant
String
const idlTpl
Implementation
const idlTpl = '''
class {{ clazz }} {
const {{ clazz }}._();
{{ fields }}
static final Service idl = IDL.Service(<String, FuncClass>{
{{ pairs }}
});
}
{{ methods }}
''';