git-touch-android-ios-app/lib/models/account.g.dart

28 lines
862 B
Dart
Raw Normal View History

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'account.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
2019-09-27 14:52:38 +02:00
Account _$AccountFromJson(Map<String, dynamic> json) {
return Account(
2019-09-26 16:14:14 +02:00
platform: json['platform'] as String,
domain: json['domain'] as String,
token: json['token'] as String,
login: json['login'] as String,
avatarUrl: json['avatarUrl'] as String,
2019-12-30 13:50:31 +01:00
gitlabId: json['gitlabId'] as int,
2019-09-26 16:14:14 +02:00
);
}
2019-09-27 14:52:38 +02:00
Map<String, dynamic> _$AccountToJson(Account instance) => <String, dynamic>{
2019-09-26 16:14:14 +02:00
'platform': instance.platform,
'domain': instance.domain,
'token': instance.token,
'login': instance.login,
'avatarUrl': instance.avatarUrl,
2019-12-30 13:50:31 +01:00
'gitlabId': instance.gitlabId,
2019-09-26 16:14:14 +02:00
};