Query$user$user$work.fromJson constructor

Query$user$user$work.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$user$user$work.fromJson(Map<String, dynamic> json) {
  final l$company = json['company'];
  final l$position = json['position'];
  final l$description = json['description'];
  final l$city = json['city'];
  final l$country = json['country'];
  final l$tags = json['tags'];
  final l$from = json['from'];
  final l$to = json['to'];
  final l$current = json['current'];
  return Query$user$user$work(
    company: (l$company as String?),
    position: (l$position as String?),
    description: (l$description as String?),
    city: l$city == null
        ? null
        : Query$user$user$work$city.fromJson(
            (l$city as Map<String, dynamic>)),
    country: l$country == null
        ? null
        : Query$user$user$work$country.fromJson(
            (l$country as Map<String, dynamic>)),
    tags: (l$tags as List<dynamic>?)?.map((e) => (e as String)).toList(),
    from: l$from == null ? null : dateTimeFromJson(l$from),
    to: l$to == null ? null : dateTimeFromJson(l$to),
    current: (l$current as bool?),
  );
}