fetchModel static method
Future<Model?>
fetchModel(
- ModelHandler handler,
- dynamic id,
- List<
Property> properties, { - Map<
String, dynamic> ? user_data,
Implementation
static Future<Model?> fetchModel (
ModelHandler handler,
dynamic id,
List<Property> properties,
{
Map<String, dynamic>? user_data,
}
) async {
final m = getOrNewModel(handler, id);
await m.fetch(properties, user_data);
return m;
}