BillData class

A data model for a bill.

The primaryAmount is the amount due in USD.

Constructors

BillData({String? name, double? primaryAmount, String? dueDate, bool isPaid = false})
const

Properties

dueDate String?
The due date of this bill.
final
hashCode int
The hash code for this object.
no setterinherited
isPaid bool
If this bill has been paid.
final
name String?
The display name of this entity.
final
primaryAmount double?
The primary amount or value of this entity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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