// GENERATED CODE - DO NOT MODIFY BY HAND part of 'account.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Account _$AccountFromJson(Map json) { return Account( 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, gitlabId: json['gitlabId'] as int, ); } Map _$AccountToJson(Account instance) { final val = {}; void writeNotNull(String key, dynamic value) { if (value != null) { val[key] = value; } } writeNotNull('platform', instance.platform); writeNotNull('domain', instance.domain); writeNotNull('token', instance.token); writeNotNull('login', instance.login); writeNotNull('avatarUrl', instance.avatarUrl); writeNotNull('gitlabId', instance.gitlabId); return val; }