Query$getWidgetIntegrationByTarget$getWidgetIntegrationByTarget$content.fromJson constructor

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

Implementation

factory Query$getWidgetIntegrationByTarget$getWidgetIntegrationByTarget$content.fromJson(
    Map<String, dynamic> json) {
  final l$profile = json['profile'];
  final l$notification = json['notification'];
  final l$wallet = json['wallet'];
  final l$challenge = json['challenge'];
  final l$chat = json['chat'];
  final l$campaigns = json['campaigns'];
  final l$buttons = json['buttons'];
  final l$badges = json['badges'];
  final l$leaderboard = json['leaderboard'];
  final l$marketplace = json['marketplace'];
  final l$theme = json['theme'];
  final l$affiliate = json['affiliate'];
  final l$marketplaceCoin = json['marketplaceCoin'];
  return Query$getWidgetIntegrationByTarget$getWidgetIntegrationByTarget$content(
    profile: (l$profile as bool?),
    notification: (l$notification as bool?),
    wallet: (l$wallet as bool?),
    challenge: (l$challenge as bool?),
    chat: (l$chat as bool?),
    campaigns: (l$campaigns as bool?),
    buttons: (l$buttons as bool?),
    badges: (l$badges as bool?),
    leaderboard: (l$leaderboard as bool?),
    marketplace: (l$marketplace as bool?),
    theme: (l$theme as bool?),
    affiliate: (l$affiliate as bool?),
    marketplaceCoin: l$marketplaceCoin == null
        ? null
        : Query$getWidgetIntegrationByTarget$getWidgetIntegrationByTarget$content$marketplaceCoin
            .fromJson((l$marketplaceCoin as Map<String, dynamic>)),
  );
}