RpoConfig.fromJson constructor

RpoConfig.fromJson(
  1. Map json_
)

Implementation

RpoConfig.fromJson(core.Map json_)
    : this(
        exclusionWindows: json_.containsKey('exclusionWindows')
            ? (json_['exclusionWindows'] as core.List)
                .map((value) => ExclusionWindow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        targetRpoMinutes: json_.containsKey('targetRpoMinutes')
            ? json_['targetRpoMinutes'] as core.int
            : null,
      );