toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ingestionDataSourceSettings != null)
        'ingestionDataSourceSettings': ingestionDataSourceSettings!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (labels != null) 'labels': labels!,
      if (messageRetentionDuration != null)
        'messageRetentionDuration': messageRetentionDuration!,
      if (messageStoragePolicy != null)
        'messageStoragePolicy': messageStoragePolicy!,
      if (name != null) 'name': name!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (schemaSettings != null) 'schemaSettings': schemaSettings!,
      if (state != null) 'state': state!,
    };