renderRecordIDL static method
Implementation
static renderRecordIDL(Iterable<SerField> fields) {
return (LambdaContext _) => """
static final RecordClass idl = IDL.Record(<String, dynamic>{
${fields.map((e) => "'${e.id}': ${e.idl},").join("\n")}
},);
""";
}