toJson method
Implementation
@override
Map<String, dynamic> toJson(UThreadViewPostParent object) => object.when(
threadViewPost: const ThreadViewPostConverter().toJson,
notFoundPost: const NotFoundPostConverter().toJson,
blockedPost: const BlockedPostConverter().toJson,
unknown: (data) => data,
);