PMU_Salin_Oleg_PIbd-33/lib/data/dtos/codeforcer_dto.g.dart
gg12 darfren 41b475ed64 lab5
2024-10-02 13:05:39 +04:00

24 lines
814 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'codeforcer_dto.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
CodeforcersDto _$CodeforcersDtoFromJson(Map<String, dynamic> json) =>
CodeforcersDto(
data: (json['result'] as List<dynamic>?)
?.map((e) => CodeforcerDto.fromJson(e as Map<String, dynamic>))
.toList(),
);
CodeforcerDto _$CodeforcerDtoFromJson(Map<String, dynamic> json) =>
CodeforcerDto(
handle: json['handle'] as String?,
rank: json['rank'] as String?,
titlePhoto: json['titlePhoto'] as String?,
rating: (json['rating'] as num?)?.toInt(),
maxRank: json['maxRank'] as String?,
);