getValue method

T getValue()

Implementation

T getValue() => value ?? defaultValue;