set method

void set(
  1. T newValue
)

Updates the current value.

Implementation

void set(T newValue) => value = newValue;