QueueingPolicy.fromJson constructor

QueueingPolicy.fromJson(
  1. Map json_
)

Implementation

QueueingPolicy.fromJson(core.Map json_)
    : this(
        validAfterDuration: json_.containsKey('validAfterDuration')
            ? json_['validAfterDuration'] as core.String
            : null,
        validAfterTime: json_.containsKey('validAfterTime')
            ? json_['validAfterTime'] as core.String
            : null,
        validInterval: json_.containsKey('validInterval')
            ? Interval.fromJson(
                json_['validInterval'] as core.Map<core.String, core.dynamic>)
            : null,
        validUntilDuration: json_.containsKey('validUntilDuration')
            ? json_['validUntilDuration'] as core.String
            : null,
        validUntilTime: json_.containsKey('validUntilTime')
            ? json_['validUntilTime'] as core.String
            : null,
      );