PortalSession class Null safety

https://stripe.com/docs/api/customer_portal/session

Annotations

Constructors

PortalSession({required String object, required String id, required String customer, required bool livemode, required String url})
PortalSession.fromJson(Map<String, dynamic> json)
factory

Properties

customer String
The ID of the customer for this session.
final
hashCode int
The hash code for this object.
read-onlyinherited
id String
final
livemode bool
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
final
object String
Doesn't work with enum because there is a dot in it.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
url String
The short-lived URL of the session that gives customers access to the customer portal.
final

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