Headers class Null safety

A non-empty list of row or column headers for a table.

Exactly one of prices, weights, numItems, postalCodeGroupNames, or location must be set.

Constructors

Headers({List<LocationIdSet>? locations, List<String>? numberOfItems, List<String>? postalCodeGroupNames, List<Price>? prices, List<Weight>? weights})
Headers.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
locations List<LocationIdSet>?
A list of location ID sets.
read / write
numberOfItems List<String>?
A list of inclusive number of items upper bounds.
read / write
postalCodeGroupNames List<String>?
A list of postal group names.
read / write
prices List<Price>?
A list of inclusive order price upper bounds.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
weights List<Weight>?
A list of inclusive order weight upper bounds.
read / write

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