canEncode static method

bool canEncode(
  1. String key
)

Tests whether the given key does not have to be quoted.

Implementation

static bool canEncode(String key) => parser.end().accept(key);