PricingModelList class
Constructors
-
PricingModelList({List<
Map< models = const [], int? total, Object? updated})String, Object> > - Returns a new PricingModelList instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
models
↔ List<
Map< String, Object> > -
Models are the catalog entries visible to the caller, each an opaque object exactly as the pricing source emits it, with any admin override merged on top. An admin additionally sees hidden entries, each annotated under "_overlay".
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total ↔ int?
-
Total is how many models this answer carries — recounted over the visible set, not the catalog's own total.
getter/setter pair
- updated ↔ Object?
-
Updated is when the catalog was last refreshed, as the pricing source recorded it.
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) → PricingModelList? -
Returns a new PricingModelList instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< PricingModelList> -
mapFromJson(
dynamic json) → Map< String, PricingModelList> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< PricingModelList> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.