gotoAddParticipants method

dynamic gotoAddParticipants(
  1. BuildContext context
)

Implementation

gotoAddParticipants(BuildContext context) {
  if (!availableFeatures.value.isGroupChatAvailable.checkNull()) {
    Helper.showFeatureUnavailable(context);
    return;
  }
  Navigator.push(
      context,
      MaterialPageRoute(
          builder: (con) => ContactListView(
              group: true,
              groupJid: profile.jid.checkNull().toString()))).then((value) {
    if (value != null) {
      addUsers(value, context);
    }
  });
}