findModelWithCustomKey<T> method
Same as findId
Implementation
T findModelWithCustomKey<T>(String key) {
final result = models[key] as T;
if(result == null) throw AFException("No model defined for $key");
return result;
}
Same as findId
T findModelWithCustomKey<T>(String key) {
final result = models[key] as T;
if(result == null) throw AFException("No model defined for $key");
return result;
}