QuantityBasedExpiry.fromJson constructor

QuantityBasedExpiry.fromJson(
  1. Map json_
)

Implementation

QuantityBasedExpiry.fromJson(core.Map json_)
    : this(
        retentionCount: json_.containsKey('retentionCount')
            ? json_['retentionCount'] as core.int
            : null,
        totalRetentionCount: json_.containsKey('totalRetentionCount')
            ? json_['totalRetentionCount'] as core.int
            : null,
      );