OkHiUser class

Defines the structure of the user object requried by OkHi services and libraries.

Constructors

OkHiUser({required String phone, String? firstName, String? lastName, String? id, String? email, String? appUserId, String? token})
OkHiUser.fromMap({required String phone, required Map<String, dynamic> data})

Properties

appUserId String?
getter/setter pair
email String?
getter/setter pair
firstName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
lastName String?
getter/setter pair
phone String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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