ResourceStatus.fromJson constructor

ResourceStatus.fromJson(
  1. Map json_
)

Implementation

ResourceStatus.fromJson(core.Map json_)
    : this(
        conditions: json_.containsKey('conditions')
            ? (json_['conditions'] as core.List)
                .map((value) => ResourceCondition.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
      );