24 lines
814 B
Dart
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?,
|
|
);
|