set method

void set(
  1. T value
)

For easy tear-offs.

Implementation

// ignore: use_setters_to_change_properties
void set(T value) => this.value = value;