ClusterStatus.fromJson constructor

ClusterStatus.fromJson(
  1. Map json_
)

Implementation

ClusterStatus.fromJson(core.Map json_)
    : this(
        detail: json_.containsKey('detail')
            ? json_['detail'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateStartTime: json_.containsKey('stateStartTime')
            ? json_['stateStartTime'] as core.String
            : null,
        substate: json_.containsKey('substate')
            ? json_['substate'] as core.String
            : null,
      );