toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customer != null) 'customer': customer!,
      if (filter != null) 'filter': filter!,
      if (googleCloudPubsubTopic != null)
        'googleCloudPubsubTopic': googleCloudPubsubTopic!,
      if (name != null) 'name': name!,
    };