You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
855 B
28 lines
855 B
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'login_info_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
LoginInfo _$LoginInfoFromJson(Map<String, dynamic> json) => LoginInfo(
|
|
token: json['token'] as String,
|
|
user: User.fromJson(json['user'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$LoginInfoToJson(LoginInfo instance) => <String, dynamic>{
|
|
'token': instance.token,
|
|
'user': instance.user,
|
|
};
|
|
|
|
User _$UserFromJson(Map<String, dynamic> json) => User(
|
|
id: json['id'] as int,
|
|
name: json['name'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$UserToJson(User instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
};
|