SubscriptionData class Null safety

Annotations

Constructors

SubscriptionData({int? trialEnd, int? trialPeriodDays, Map<String, dynamic>? metadata})
SubscriptionData.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
trialEnd int?
Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
final
trialPeriodDays int?
Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
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