NotificationDirection constructor

const NotificationDirection(
  1. String value
)

Creates a direction from a raw string value.

Prefer the predefined constants when possible. Use this constructor for values not yet covered by this library.

Implementation

const NotificationDirection(this.value);