toJson method

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

Implementation

@override
Map<String, dynamic> toJson(UBlobViewDetail object) => object.when(
      imageDetails: const ImageDetailsConverter().toJson,
      videoDetails: const VideoDetailsConverter().toJson,
      unknown: (data) => data,
    );