getRelationsForEntity method
Get relations for entity.
Implementation
@override
Future<List<Relation>> getRelationsForEntity(String entityId) async {
return _relations.values
.where((r) => r.fromEntityId == entityId || r.toEntityId == entityId)
.toList();
}