addSection method

dynamic addSection(
  1. Section section,
  2. int sectionId
)

Implementation

addSection(Section section, int sectionId) {
  return """
   ObjSection(
          title: '${section.name}',
          tiles: buildSection${sectionId}(),),
          """;
}