createFromMap<T extends BaseObject> static method

Future<T> createFromMap<T extends BaseObject>(
  1. Map<String, dynamic> data
)

Implementation

static Future<T> createFromMap<T extends BaseObject>(Map<String, dynamic> data) async {
  return await AppModel().modelDeserializer<T>().fromMap(data);
}