FreshnessOptions.fromJson constructor

FreshnessOptions.fromJson(
  1. Map json_
)

Implementation

FreshnessOptions.fromJson(core.Map json_)
    : this(
        freshnessDuration: json_.containsKey('freshnessDuration')
            ? json_['freshnessDuration'] as core.String
            : null,
        freshnessProperty: json_.containsKey('freshnessProperty')
            ? json_['freshnessProperty'] as core.String
            : null,
      );