Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget.fromJson constructor

Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget.fromJson(
    Map<String, dynamic> json) {
  final l$picture = json['picture'];
  final l$title = json['title'];
  final l$description = json['description'];
  final l$translation = json['translation'];
  final l$callToAction = json['callToAction'];
  return Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget(
    picture: l$picture == null
        ? null
        : Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget$picture
            .fromJson((l$picture as Map<String, dynamic>)),
    title: (l$title as String?),
    description: (l$description as String?),
    translation: (l$translation as List<dynamic>?)
        ?.map((e) =>
            Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget$translation
                .fromJson((e as Map<String, dynamic>)))
        .toList(),
    callToAction: l$callToAction == null
        ? null
        : Query$getLastWidgetOutboundsByTarget$getLastWidgetOutboundsByTarget$content$widget$callToAction
            .fromJson((l$callToAction as Map<String, dynamic>)),
  );
}