Key(String value)

Construct a ValueKey<String> with the given String.

This is the simplest way to create keys.

Source

factory Key(String value) => new ValueKey<String>(value);