ResourceStatus.fromJson constructor

ResourceStatus.fromJson(
  1. Map json_
)

Implementation

ResourceStatus.fromJson(core.Map json_)
    : this(
        rulesNewerVersions: json_.containsKey('rulesNewerVersions')
            ? (json_['rulesNewerVersions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );