getter method

T getter()

Returns the current value.

Implementation

T getter() => value;