toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (offer != null) 'offer': offer!,
  if (plan != null) 'plan': plan!,
  if (publisher != null) 'publisher': publisher!,
  if (type != null) 'type': type!,
};