toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clusterRole != null) 'clusterRole': clusterRole!,
      if (membership != null) 'membership': membership!,
      if (primaryCluster != null) 'primaryCluster': primaryCluster!,
      if (secondaryClusters != null) 'secondaryClusters': secondaryClusters!,
      if (updateTime != null) 'updateTime': updateTime!,
    };