toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (kind != null) 'kind': kind!,
      if (remarketingListId != null) 'remarketingListId': remarketingListId!,
      if (sharedAccountIds != null) 'sharedAccountIds': sharedAccountIds!,
      if (sharedAdvertiserIds != null)
        'sharedAdvertiserIds': sharedAdvertiserIds!,
    };