create method

Future<PageModel> create()

Implementation

Future<PageModel> create() async {
  if (blockedAssetLocation != null) {
    var blockedImage = await uploadBlockedImage();
    await _setupBlocked(blockedImage);
    return await _setupPage();
  } else {
    return PageWithTextBuilder(
      uniqueId,
      'Blocked',
      'Blocked',
      'You are blocked',
      pageId,
      app,
      memberId,
      theHomeMenu,
      theAppBar,
      leftDrawer,
      rightDrawer,
    ).create();
  }
}