Policy class

The available policies.

Constructors

Policy.new({String? days, String? type})
Policy.fromJson(Map json_)

Properties

days String?
The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
Policy type. Possible string values are:
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.
inherited

Operators

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