Query$getLeaguePagination$getLeaguePagination.fromJson constructor

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

Implementation

factory Query$getLeaguePagination$getLeaguePagination.fromJson(
    Map<String, dynamic> json) {
  final l$count = json['count'];
  final l$isLast = json['isLast'];
  final l$objects = json['objects'];
  final l$$__typename = json['__typename'];
  return Query$getLeaguePagination$getLeaguePagination(
    count: (l$count as int?),
    isLast: (l$isLast as bool?),
    objects: (l$objects as List<dynamic>)
        .map((e) =>
            Query$getLeaguePagination$getLeaguePagination$objects.fromJson(
                (e as Map<String, dynamic>)))
        .toList(),
    $__typename: (l$$__typename as String),
  );
}