noneOr method

  1. @override
Option<T> noneOr(
  1. Option<T> other
)
override

Returns this if it's None, otherwise returns the other Option.

Implementation

@override
@pragma('vm:prefer-inline')
Option<T> noneOr(Option<T> other) => other;