withDefault method

T withDefault(
  1. T defaultValue
)

Implementation

T withDefault(final T defaultValue) => this ?? defaultValue;