| 123456789101112131415161718192021222324252627 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- part of 'list_result.dart';
- // **************************************************************************
- // JsonSerializableGenerator
- // **************************************************************************
- BaseListResult<T> _$BaseListResultFromJson<T>(
- Map<String, dynamic> json,
- T Function(Object? json) fromJsonT,
- ) => BaseListResult<T>(
- count: (json['count'] as num).toInt(),
- previous: json['previous'] as String?,
- next: json['next'] as String?,
- results: (json['results'] as List<dynamic>).map(fromJsonT).toList(),
- );
- Map<String, dynamic> _$BaseListResultToJson<T>(
- BaseListResult<T> instance,
- Object? Function(T value) toJsonT,
- ) => <String, dynamic>{
- 'count': instance.count,
- 'previous': instance.previous,
- 'next': instance.next,
- 'results': instance.results.map(toJsonT).toList(),
- };
|