Customer class Null safety

https://stripe.com/docs/api/charges/object

Annotations

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.
read-onlyinherited
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.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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