TargetsPresentCondition.fromJson constructor

TargetsPresentCondition.fromJson(
  1. Map json_
)

Implementation

TargetsPresentCondition.fromJson(core.Map json_)
    : this(
        missingTargets: json_.containsKey('missingTargets')
            ? (json_['missingTargets'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        status:
            json_.containsKey('status') ? json_['status'] as core.bool : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );