PricingPlan class

Constructors

PricingPlan({required String key, required String name, required double price, bool? priceOnRequest, int projectQuotas = 0, bool? projectQuotasDisabled, String modelQuotas = '0', bool? modelQuotasDisabled, bool? seoOptimization, bool? viewReporting, bool? customQrCodes, bool? scenesApp, bool? hidden})
Returns a new PricingPlan instance.

Properties

customQrCodes bool?
Allows to visually customie QR Codes when enabled.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hidden bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
key String
getter/setter pair
modelQuotas String
getter/setter pair
modelQuotasDisabled bool?
Disable quota check for models.
getter/setter pair
name String
getter/setter pair
price double
For display purposes, payment price is defined in stripe product.
getter/setter pair
priceOnRequest bool?
Remove price and display request price offer in pricing table
getter/setter pair
projectQuotas int
getter/setter pair
projectQuotasDisabled bool?
Disable quota check for this plan.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scenesApp bool?
Allow usage of yago scenes app.
getter/setter pair
seoOptimization bool?
Enables SEO tags and sharing previews.
getter/setter pair
viewReporting bool?
Allows to view detailed statistics about model views.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) PricingPlan?
Returns a new PricingPlan instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<PricingPlan>
mapFromJson(dynamic json) Map<String, PricingPlan>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<PricingPlan>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.