roomRepository method

  1. @override
RoomRepository? roomRepository(
  1. String? appId
)
override

Implementation

@override
RoomRepository? roomRepository(String? appId) {
  if ((appId != null) && (_roomRepository[appId] == null)) {
    _roomRepository[appId] = RoomCache(RoomFirestore(
        () => appRepository()!.getSubCollection(appId, 'room'), appId));
  }
  return _roomRepository[appId];
}