Bill class Null safety

Bill or Invoice object issued to a customer it is basically a customer name and amount in ETB.

Constructors

Bill({required String customerCode, required String customerName, required String time, required String description, required String amount, required String billReference, required String merchantID})

Properties

amount String
amount as two decimal digits 1246.50
read / write
billReference String
read / write
customerCode String
read / write
customerName String
read / write
description String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
merchantID String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
time String
24 hour format 2020-01-01 16:00
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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