Customer class

Annotations

Constructors

Customer({String? name, String? email, String? avatar, String? externalId})
Creates a new customer instance.
const
Customer.fromJson(Map<String, dynamic> json)
Creates a Customer from a JSON map.
factory

Properties

avatar String?
Avatar URL for the customer.
final
email String?
Email address of the customer.
final
externalId String?
External ID for the customer in your system.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Unique identifier for the customer.
final
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
toJson() Map<String, dynamic>
Converts this customer to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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