toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (channel != null) 'channel': channel!,
      if (conditions != null) 'conditions': conditions!,
      if (createTime != null) 'createTime': createTime!,
      if (destination != null) 'destination': destination!,
      if (etag != null) 'etag': etag!,
      if (eventDataContentType != null)
        'eventDataContentType': eventDataContentType!,
      if (eventFilters != null) 'eventFilters': eventFilters!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (transport != null) 'transport': transport!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };