toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authority != null) 'authority': authority!,
      if (createTime != null) 'createTime': createTime!,
      if (etag != null) 'etag': etag!,
      if (eventTypes != null) 'eventTypes': eventTypes!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (name != null) 'name': name!,
      if (notificationEndpoint != null)
        'notificationEndpoint': notificationEndpoint!,
      if (payloadOptions != null) 'payloadOptions': payloadOptions!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (state != null) 'state': state!,
      if (suspensionReason != null) 'suspensionReason': suspensionReason!,
      if (targetResource != null) 'targetResource': targetResource!,
      if (ttl != null) 'ttl': ttl!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };