operator [] method

T? operator [](
  1. String key
)

Returns a resolved resource using defaultContext.

Implementation

T? operator [](String key) => resolve(key);