toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (anthosVersion != null) 'anthosVersion': anthosVersion!,
      if (backupCrdVersions != null) 'backupCrdVersions': backupCrdVersions!,
      if (cluster != null) 'cluster': cluster!,
      if (gkeVersion != null) 'gkeVersion': gkeVersion!,
      if (k8sVersion != null) 'k8sVersion': k8sVersion!,
    };