Bill class

A representation of billing information.

Constructors

Bill({required String billId, required String customerId, required double total, required String country, required String cip, required String city})
Creates a new Bill with the provided parameters.
const

Properties

billId String
A unique identifier for the bill.
final
cip String
The CIP (Customer Identification Number) of the customer.
final
city String
The city where the customer is located.
final
country String
The country of the customer.
final
customerId String
A unique identifier for the customer.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total double
The total sum of the bill, representing the amount due.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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