or method

dynamic or(
  1. dynamic defaultValue
)

Implementation

or(defaultValue) => this == null ? defaultValue : this!.value;