ProfileBodyModel class

The ProfileBodyModel class represents a model for the body of a user profile request.

Constructors

ProfileBodyModel({required String name, required String email, required String phone, String? address, String? accountNumber, String? nip, File? image})
Creates a new instance of the ProfileBodyModel class.

Properties

accountNumber String?
The account number of the user (optional).
final
address String?
The address of the user (optional).
final
email String
The email of the user.
final
hashCode int
The hash code for this object.
no setterinherited
image File?
The image file of the user (optional).
final
name String
The name of the user.
final
nip String?
The NIP (National Identification Number) of the user (optional).
final
phone String
The phone number of the user.
final
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
toFormData() Future<FormData>
Converts the ProfileBodyModel instance to a FormData object for making multipart form data requests.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited