loadRelations method

Future<void> loadRelations()

Implementation

Future<void> loadRelations() async {
  List<dynamic> relations = getRelations();

  for (int i = 0; i < relations.length; i++) {
    Relation relation = relations[i];

    setData(relation.id, await relation.handle(this));
  }
}