UserProfile class
A single user/merchant profile returned by Extension.verifyOtp when a phone
number is associated with multiple profiles (multi-profile login).
Retain the sessionId + the entered OTP, let the user pick one of these, then
complete authentication with the select-user step. Mirrors the native
UserProfile model.
Constructors
- UserProfile({String? userId, String? name, String? userType, String? email, String? logo})
-
const
-
UserProfile.fromMap(Map<
String, dynamic> map) -
factory
Properties
- email → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logo → String?
-
URL or Base64-encoded image, may be null/blank when no logo is provided.
final
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String?
-
final
- userType → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited