Finds the T model in database with id of key.
T
database
key
FutureOr<T?> findModel<T extends BaseModel>(String database, String key);