JsonCacheTry constructor

const JsonCacheTry(
  1. JsonCache wrapped
)

Sets wrapped as the instance to which this object will forward all method calls.

Precondition: the type of wrapped must not be JsonCacheTry.

Implementation

const JsonCacheTry(JsonCache wrapped)
    : assert(wrapped is! JsonCacheTry),
      _wrapped = wrapped;