5 changed files with 23 additions and 41 deletions
@ -1,11 +1,27 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'push_notification.dart'; |
||||
part of 'neon.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
Account _$AccountFromJson(Map<String, dynamic> json) => Account( |
||||
serverURL: json['serverURL'] as String, |
||||
loginName: json['loginName'] as String, |
||||
username: json['username'] as String, |
||||
password: json['password'] as String?, |
||||
userAgent: json['userAgent'] as String?, |
||||
); |
||||
|
||||
Map<String, dynamic> _$AccountToJson(Account instance) => <String, dynamic>{ |
||||
'serverURL': instance.serverURL, |
||||
'loginName': instance.loginName, |
||||
'username': instance.username, |
||||
'password': instance.password, |
||||
'userAgent': instance.userAgent, |
||||
}; |
||||
|
||||
PushNotification _$PushNotificationFromJson(Map<String, dynamic> json) => PushNotification( |
||||
accountID: json['accountID'] as String, |
||||
priority: json['priority'] as String, |
@ -1,23 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'account.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
Account _$AccountFromJson(Map<String, dynamic> json) => Account( |
||||
serverURL: json['serverURL'] as String, |
||||
loginName: json['loginName'] as String, |
||||
username: json['username'] as String, |
||||
password: json['password'] as String?, |
||||
userAgent: json['userAgent'] as String?, |
||||
); |
||||
|
||||
Map<String, dynamic> _$AccountToJson(Account instance) => <String, dynamic>{ |
||||
'serverURL': instance.serverURL, |
||||
'loginName': instance.loginName, |
||||
'username': instance.username, |
||||
'password': instance.password, |
||||
'userAgent': instance.userAgent, |
||||
}; |
Loading…
Reference in new issue