modelOf static method
Implementation
static modelOf(Type type) {
if (_instances.containsKey(type)) {
return _instances[type];
} else {
throw Exception("model if type: $type is null");
}
}
static modelOf(Type type) {
if (_instances.containsKey(type)) {
return _instances[type];
} else {
throw Exception("model if type: $type is null");
}
}