update<T> static method

void update<T>(
  1. BuildContext context,
  2. T value
)

Implementation

static void update<T>(BuildContext context, T value) {
  Provided.get<ProvidedBox<T>>(context).value = value;
}