Query$getLastReferral$getLastReferral$remuneration$referrer$quantitative$wallet$owner$pos.fromJson constructor

Query$getLastReferral$getLastReferral$remuneration$referrer$quantitative$wallet$owner$pos.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$getLastReferral$getLastReferral$remuneration$referrer$quantitative$wallet$owner$pos.fromJson(
    Map<String, dynamic> json) {
  final l$id = json['id'];
  final l$name = json['name'];
  final l$title = json['title'];
  final l$email = json['email'];
  final l$phone = json['phone'];
  final l$website = json['website'];
  final l$subtitle = json['subtitle'];
  final l$createdAt = json['createdAt'];
  final l$updatedAt = json['updatedAt'];
  final l$brandColor = json['brandColor'];
  final l$description = json['description'];
  final l$company = json['company'];
  final l$picture = json['picture'];
  final l$$__typename = json['__typename'];
  return Query$getLastReferral$getLastReferral$remuneration$referrer$quantitative$wallet$owner$pos(
    id: (l$id as String),
    name: (l$name as String?),
    title: (l$title as String?),
    email: (l$email as List<dynamic>?)?.map((e) => (e as String)).toList(),
    phone: (l$phone as List<dynamic>?)?.map((e) => (e as String)).toList(),
    website: (l$website as String?),
    subtitle: (l$subtitle as String?),
    createdAt: dateTimeFromJson(l$createdAt),
    updatedAt: dateTimeFromJson(l$updatedAt),
    brandColor: (l$brandColor as String?),
    description: (l$description as String?),
    company: l$company == null
        ? null
        : Query$getLastReferral$getLastReferral$remuneration$referrer$quantitative$wallet$owner$pos$company
            .fromJson((l$company as Map<String, dynamic>)),
    picture: l$picture == null
        ? null
        : Query$getLastReferral$getLastReferral$remuneration$referrer$quantitative$wallet$owner$pos$picture
            .fromJson((l$picture as Map<String, dynamic>)),
    $__typename: (l$$__typename as String),
  );
}