getDrawer function
Implementation
Future<DrawerModel> getDrawer(String appId, DrawerType drawerType,
{bool? store}) async {
var drawerId = drawerID(appId, drawerType);
var drawer = await drawerRepository(appId: appId)!.get(drawerId);
if (drawer == null) {
return newDrawer(appId, drawerType, store: store);
} else {
return drawer;
}
}