LineItem constructor

LineItem(
  1. String catalogObjectType,
  2. String catalogObjectId,
  3. int quantity,
  4. double price,
  5. String currency, [
  6. Map<String, dynamic> attributes = const {},
])

Implementation

LineItem(this.catalogObjectType, this.catalogObjectId, this.quantity,
    this.price, this.currency,
    [this.attributes = const {}]);