orDefault method

T orDefault(
  1. T defaultValue
)

Implementation

T orDefault(T defaultValue) => this ?? defaultValue;