CachePolicyNegativeCachingPolicy.fromJson constructor

CachePolicyNegativeCachingPolicy.fromJson(
  1. Map json_
)

Implementation

CachePolicyNegativeCachingPolicy.fromJson(core.Map json_)
  : this(
      code: json_['code'] as core.int?,
      ttl: json_.containsKey('ttl')
          ? Duration.fromJson(
              json_['ttl'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );