renderFields static method

dynamic renderFields(
  1. Iterable<SerField> fields
)

Implementation

static renderFields(Iterable<SerField> fields) {
  return (LambdaContext _) => fields.map((e) {
        final id = e.id!.toCamelCase();
        return '/// [$id] : ${e.did} \nfinal ${e.type.nullable(e.nullable)} $id;';
      }).join('\n');
}