1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-25 15:22:38 +01:00
git-touch-android-ios-app/lib/models/user.g.dart
2019-02-21 18:51:49 +08:00

27 lines
810 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
User _$UserFromJson(Map<String, dynamic> json) {
return User(
json['login'] as String,
json['avatarUrl'] as String,
json['name'] as String,
json['publicRepos'] as int,
json['followers'] as int,
json['following'] as int);
}
Map<String, dynamic> _$UserToJson(User instance) => <String, dynamic>{
'login': instance.login,
'avatarUrl': instance.avatarUrl,
'name': instance.name,
'publicRepos': instance.publicRepos,
'followers': instance.followers,
'following': instance.following
};