Room.getInstance constructor

Room.getInstance()

Get the Room Instance if its not initialized it will throw an error @returns - Room Instance

Implementation

factory Room.getInstance() {
  return Room._instance;
}