add method

void add(
  1. num other
)

Adds other to the current value.

Implementation

void add(num other) => value = (value + other) as T;