Profile class Null safety

Profile domain entity

Implementers

Constructors

Profile({required String id, required String lastName, required String firstName, String? avatar, String? email, String? phoneNumber, String? address})

Properties

address String?
read / write
avatar String?
read / write
email String?
read / write
firstName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
lastName String
read / write
phoneNumber String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
set({required String lastName, required String firstName, String? avatar, String? email, String? phoneNumber, String? address}) → dynamic
To update profile properties
toString() String
A string representation of this object. [...]
inherited

Operators

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