Payment class

Constructors

Payment({required String id, required int amount, required DateTime date, required int dispenser, required String product_id, required String user_id, required String vending_machine_id})
const
Payment.from_snapshot(String id, Map<String, dynamic> snapshot)

Properties

amount int
final
date DateTime
final
dispenser int
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
product_id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user_id String
final
vending_machine_id String
final

Methods

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

Operators

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