toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (imageBytes != null) 'imageBytes': imageBytes!,
if (imageUrl != null) 'imageUrl': imageUrl!,
if (position != null) 'position': position!,
if (targetChannelId != null) 'targetChannelId': targetChannelId!,
if (timing != null) 'timing': timing!,
};