getNestedClasses method

String getNestedClasses()

Implementation

String getNestedClasses() {
  return where((element) => element.nestedClasses.isNotEmpty)
      .map((e) => e.nestedClasses.map(
            (jsonModel) {
              return ModelTemplates.fromJsonModel(jsonModel, true);
            },
          ).join('\n\n'))
      .join('\n');
}