toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (endDate != null) 'endDate': endDate!,
  if (grp != null) 'grp': grp!,
  if (id != null) 'id': id!,
  if (impressions != null) 'impressions': impressions!,
  if (kind != null) 'kind': kind!,
  if (name != null) 'name': name!,
  if (spend != null) 'spend': spend!,
  if (startDate != null) 'startDate': startDate!,
  if (type != null) 'type': type!,
};