toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (channel != null) 'channel': channel!,
  if (hints != null) 'hints': hints!,
  if (image != null) 'image': image!,
  if (watch != null) 'watch': watch!,
};