toJson method

  1. @override
Map<String, dynamic> toJson(
  1. URecordViewRecordEmbed object
)

Implementation

@override
Map<String, dynamic> toJson(URecordViewRecordEmbed object) => object.when(
      imagesView: const ImagesViewConverter().toJson,
      videoView: const VideoViewConverter().toJson,
      externalView: const ExternalViewConverter().toJson,
      recordView: const RecordViewConverter().toJson,
      recordWithMediaView: const RecordWithMediaViewConverter().toJson,
      unknown: (data) => data,
    );