PlanModel class

Constructors

PlanModel({String? id, String? name, required String identifier, int? interval, String? intervalType, String? createdAt, String? updatedAt, List<PlanPrice>? prices, List<PlanFeature>? features})
PlanModel.fromJson(String source)
factory
PlanModel.fromMap(Map<String, dynamic> map)
factory

Properties

createdAt String?
getter/setter pair
features List<PlanFeature>?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
getter/setter pair
identifier String
getter/setter pair
interval int?
getter/setter pair
intervalType String?
getter/setter pair
name String?
getter/setter pair
prices List<PlanPrice>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt String?
getter/setter pair

Methods

copyWith({String? id, String? name, String? identifier, int? interval, String? intervalType, String? createdAt, String? updatedAt, List<PlanPrice>? prices, List<PlanFeature>? features}) PlanModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override