loadMissing method
Load the given relations if they are not already loaded.
Implementation
Future<T> loadMissing(List<String> relations) async {
final relationsToLoad =
relations.where((name) => !relationLoaded(name)).toList();
if (relationsToLoad.isNotEmpty) {
await load(relationsToLoad);
}
return this as T;
}