UserProfileModel class
Isar data model for UserProfile persistence
- Annotations
Constructors
Properties
- companyAddress ↔ String?
-
Company physical address
getter/setter pair
- companyCif ↔ String?
-
Company CIF (tax identification)
getter/setter pair
- companyEmail ↔ String?
-
Company contact email
getter/setter pair
-
companyLogoBytes
↔ List<
int> ? -
Company logo stored as bytes (for PDF generation)
getter/setter pair
- companyName ↔ String?
-
Company legal name (razón social)
getter/setter pair
- companyPhone ↔ String?
-
Company contact phone
getter/setter pair
- engineerId ↔ String
-
Professional engineer ID (colegiado number)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ Id
-
Isar ID - always 1 since there's only one profile per installation
getter/setter pair
- personalDni ↔ String
-
DNI/NIF (Spanish ID) of the engineer
getter/setter pair
- personalEmail ↔ String
-
Personal email address
getter/setter pair
- personalName ↔ String
-
Full name of the engineer/professional
getter/setter pair
- personalPhone ↔ String
-
Personal phone number
getter/setter pair
-
personalPhotoBytes
↔ List<
int> ? -
Profile photo stored as bytes
getter/setter pair
- professionalType ↔ ProfessionalType
-
Whether this profile represents a freelancer or a company
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
) → UserProfile - Converts this Isar model to a domain entity
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromEntity(
UserProfile profile) → UserProfileModel - Creates an Isar model from a domain entity