toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (acceptedBy != null) 'acceptedBy': acceptedBy!,
  if (termsOfService != null) 'termsOfService': termsOfService!,
  if (validUntil != null) 'validUntil': validUntil!,
};