toLocalNotification method

NotificationVisibility toLocalNotification()

Implementation

NotificationVisibility toLocalNotification() {
  switch (this) {
    case AndroidVisibility.PRIVATE:
      return NotificationVisibility.private;
    case AndroidVisibility.PUBLIC:
      return NotificationVisibility.public;
    case AndroidVisibility.SECRET:
      return NotificationVisibility.secret;
  }
}