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})
OkHiUser.fromMap({required String phone, required Map<String, dynamic> data})

Properties

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

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