@override Object toJson() => { if (video != null) 'video': encodeBytes(video), if (uri != null) 'uri': uri, };