Query$getQuestionsbyFormWithResponsesStatsPaginated$getQuestionsbyFormWithResponsesStatsPaginated$objects$settings$smiley$levels.fromJson constructor

Query$getQuestionsbyFormWithResponsesStatsPaginated$getQuestionsbyFormWithResponsesStatsPaginated$objects$settings$smiley$levels.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$getQuestionsbyFormWithResponsesStatsPaginated$getQuestionsbyFormWithResponsesStatsPaginated$objects$settings$smiley$levels.fromJson(
    Map<String, dynamic> json) {
  final l$rank = json['rank'];
  final l$icon = json['icon'];
  final l$picture = json['picture'];
  final l$$__typename = json['__typename'];
  return Query$getQuestionsbyFormWithResponsesStatsPaginated$getQuestionsbyFormWithResponsesStatsPaginated$objects$settings$smiley$levels(
    rank: (l$rank as num).toDouble(),
    icon: (l$icon as String?),
    picture: l$picture == null
        ? null
        : Query$getQuestionsbyFormWithResponsesStatsPaginated$getQuestionsbyFormWithResponsesStatsPaginated$objects$settings$smiley$levels$picture
            .fromJson((l$picture as Map<String, dynamic>)),
    $__typename: (l$$__typename as String),
  );
}