set static method

void set(
  1. String key,
  2. dynamic value
)

Store custom data for the current request

Implementation

static void set(String key, dynamic value) {
  ServerContext.current.setData(key, value);
}