toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildConfig != null) 'buildConfig': buildConfig!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (environment != null) 'environment': environment!,
      if (eventTrigger != null) 'eventTrigger': eventTrigger!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (serviceConfig != null) 'serviceConfig': serviceConfig!,
      if (state != null) 'state': state!,
      if (stateMessages != null) 'stateMessages': stateMessages!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (upgradeInfo != null) 'upgradeInfo': upgradeInfo!,
      if (url != null) 'url': url!,
    };