Plan class

Inheritance
Annotations
  • @JsonSerializable.new(fieldRename: FieldRename.kebab, createToJson: false)

Constructors

Plan({required String name, required String description, required String interval, required int price, int? trialDays, required String planId, bool isDefault = false, String? iconImageAssetDark, String? iconImageAssetLight})
const
Plan.fromJson(Map<String, dynamic> json)
factory

Properties

description String
final
hashCode int
The hash code for this object.
no setterinherited
iconImageAssetDark String?
final
iconImageAssetLight String?
final
interval String
final
isDefault bool
final
name String
final
planId String
final
price int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trialDays int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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