resolve method

dynamic resolve(
  1. String key
)

Implementation

resolve(String key) {
  if (this[key] case Object val) {
    return val;
  }
}