RpoConfig.fromJson constructor

RpoConfig.fromJson(
  1. Map json_
)

Implementation

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