PaymayaContact class
Simple contact info. Example:
final contact = PaymayaContact(
email:'paymaya@flutter.com',
phone:'0912345689',
);
Constructors
- PaymayaContact({String? email, String? phone})
-
Simple contact info.
Example:
const
- PaymayaContact.fromJson(String source)
-
Simple contact info.
Example:
factory
-
PaymayaContact.fromMap(Map<
String, dynamic> map) -
Simple contact info.
Example:
factory
Properties
- email → String?
-
the email no validation. the API handles the email validation
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- phone → String?
-
it can be either cellular phone number or telephone nunmber.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? email, String? phone}) → PaymayaContact - Simple contact info. Example:
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Simple contact info. Example:
-
toMap(
) → Map< String, dynamic> - Simple contact info. Example:
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override