setNotificationLevel method

Future<void> setNotificationLevel(
  1. NotificationLevel level
)

Implementation

Future<void> setNotificationLevel(NotificationLevel level) async {
  try {
    await TwilioConversations()
        .conversationApi
        .setNotificationLevel(sid, EnumToString.convertToString(level));
  } on PlatformException catch (err) {
    throw TwilioConversations.convertException(err);
  }
}