getSchema static method

List<Map> getSchema()

Implementation

static List<Map> getSchema() {
  final schema = <Map>[];
  for (var solution in _solutions) {
    schema.add({
      "name": solution.name,
      "filePath": solution.filePath,
      "widgets": (solution.widgets ?? NoWidgets()).getSchema(),
      "actions": (solution.actions ?? NoActions()).getSchema(),
      "properties": (solution.properties ?? NoProperties()).getSchema(),
    });
  }
  return schema;
}