barcode_scanner/lib/backend/schema/user/user_struct.g.dart
mandreshope b1a4005235 feat: Adds user image field and profile page
Adds an `image` field to the user data structure to support profile pictures.

Introduces a new profile page and sets up navigation from the home screen.

Changes the product list page provider to auto dispose for improved resource management.
2025-07-04 12:17:13 +03:00

27 lines
845 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user_struct.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_UserStruct _$UserStructFromJson(Map<String, dynamic> json) => _UserStruct(
id: json['id'] as String?,
image: json['image'] as String?,
firstName: json['firstName'] as String?,
lastName: json['lastName'] as String?,
email: json['email'] as String?,
phone: json['phone'] as String?,
);
Map<String, dynamic> _$UserStructToJson(_UserStruct instance) =>
<String, dynamic>{
'id': instance.id,
'image': instance.image,
'firstName': instance.firstName,
'lastName': instance.lastName,
'email': instance.email,
'phone': instance.phone,
};