LineItems class abstract

Annotations
  • @freezed

Constructors

LineItems.new({required String type, required String sku, required String variant_id, required String price, required String offer_price, required int tax_amount, required int quantity, required String name, required String description, required String weight, required Dimensions dimensions, required String image_url, required String product_url, IMap? notes})
const
factory
LineItems.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $LineItemsCopyWith<LineItems>
Create a copy of LineItems with the given fields replaced by the non-null parameter values.
no setterinherited
description String
no setterinherited
dimensions Dimensions
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
image_url String
no setterinherited
name String
no setterinherited
notes IMap?
no setterinherited
offer_price String
no setterinherited
price String
no setterinherited
product_url String
no setterinherited
quantity int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String
no setterinherited
tax_amount int
no setterinherited
type String
no setterinherited
variant_id String
no setterinherited
weight String
no setterinherited

Methods

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

Operators

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