toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clusterConditions != null) 'clusterConditions': clusterConditions!,
      if (detail != null) 'detail': detail!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (nodepoolConditions != null)
        'nodepoolConditions': nodepoolConditions!,
      if (operationType != null) 'operationType': operationType!,
      if (progress != null) 'progress': progress!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (startTime != null) 'startTime': startTime!,
      if (status != null) 'status': status!,
      if (statusMessage != null) 'statusMessage': statusMessage!,
      if (targetLink != null) 'targetLink': targetLink!,
      if (zone != null) 'zone': zone!,
    };