Customer class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

Customer({required _CustomerObject object, required String id, String? description, String? email, Map<String, dynamic>? metadata, String? name})
Customer.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
An arbitrary string attached to the object. Often useful for displaying to users.
final
email String?
The customer’s email address.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for the object.
final
metadata Map<String, dynamic>?
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
final
name String?
The customer’s full name or business name.
final
object → _CustomerObject
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>
override
toString() String
A string representation of this object.
inherited

Operators

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