Created
July 12, 2023 16:30
-
-
Save yusufbiberoglu/8aff0de6f306233bd15fe4d16c468ef1 to your computer and use it in GitHub Desktop.
user_model.g.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GENERATED CODE - DO NOT MODIFY BY HAND | |
part of 'user_model.dart'; | |
// ************************************************************************** | |
// JsonSerializableGenerator | |
// ************************************************************************** | |
UserModel _$UserModelFromJson(Map<String, dynamic> json) => UserModel( | |
id: json['id'] as int, | |
name: json['name'] as String, | |
surname: json['surname'] as String, | |
email: json['email'] as String, | |
); | |
Map<String, dynamic> _$UserModelToJson(UserModel instance) => <String, dynamic>{ | |
'id': instance.id, | |
'name': instance.name, | |
'surname': instance.surname, | |
'email': instance.email, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment