HttpCacheControlResponseHeader.fromJson constructor

HttpCacheControlResponseHeader.fromJson(
  1. Map json_
)

Implementation

HttpCacheControlResponseHeader.fromJson(core.Map json_)
    : this(
        age: json_.containsKey('age') ? json_['age'] as core.String : null,
        directive: json_.containsKey('directive')
            ? json_['directive'] as core.String
            : null,
        expires: json_.containsKey('expires')
            ? json_['expires'] as core.String
            : null,
      );