// GENERATED CODE - DO NOT MODIFY BY HAND part of 'profile.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Profile _$ProfileFromJson(Map json) { $checkKeys( json, requiredKeys: const [ 'username', 'email_verified', 'is_trustworthy', 'weight_unit', 'email', ], ); return Profile( username: json['username'] as String, emailVerified: json['email_verified'] as bool, isTrustworthy: json['is_trustworthy'] as bool, email: json['email'] as String, weightUnitStr: json['weight_unit'] as String, ); } Map _$ProfileToJson(Profile instance) => { 'username': instance.username, 'email_verified': instance.emailVerified, 'is_trustworthy': instance.isTrustworthy, 'weight_unit': instance.weightUnitStr, 'email': instance.email, };