createKey static method

ContextKey createKey(
  1. String name
)

Returns a key to be used to read and/or write values to a context.

name is for debug purposes only and does not uniquely identify the key. Multiple calls to this function with the same name will not return identical keys.

Implementation

static ContextKey createKey(String name) => ContextKey(name);