toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (daysToLookBack != null) 'daysToLookBack': daysToLookBack!,
      if (isSmartList != null) 'isSmartList': isSmartList!,
      if (kind != null) 'kind': kind!,
      if (membershipDurationDays != null)
        'membershipDurationDays': membershipDurationDays!,
      if (segment != null) 'segment': segment!,
    };