ServiceItem class

A message that describes a single service item.

It is used to describe the type of service that the merchant provides. For example, haircut can be a service.

Constructors

ServiceItem({FreeFormServiceItem? freeFormServiceItem, Money? price, StructuredServiceItem? structuredServiceItem})
ServiceItem.fromJson(Map json_)

Properties

freeFormServiceItem FreeFormServiceItem?
This field will be set case of free-form services data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
price Money?
Represents the monetary price of the service item.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structuredServiceItem StructuredServiceItem?
This field will be set case of structured services data.
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