createGroup method
Implementation
createGroup(List<String> users, BuildContext context) {
mirrorFlyLog("group name", groupName.text);
mirrorFlyLog("users", users.toString());
mirrorFlyLog("group image", imagePath.value);
Helper.showLoading(buildContext: context);
Mirrorfly.createGroup(
groupName: groupName.text.toString(),
userList: users,
image: imagePath.value,
flyCallBack: (FlyResponse response) {
Helper.hideLoading(context: context);
if (response.isSuccess) {
// Get.back();
Navigator.pop(context);
toToast(AppConstants.groupCreatedSuccessfully);
}
});
}