ResourceCondition.fromJson constructor

ResourceCondition.fromJson(
  1. Map json_
)

Implementation

ResourceCondition.fromJson(core.Map json_)
    : this(
        lastTransitionTime: json_.containsKey('lastTransitionTime')
            ? json_['lastTransitionTime'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );