Payment class Null safety

Payment object returned from getPaymentStatus api call

Constructors

Payment.fromJson(Map<String, dynamic> json)

Properties

data PaymentDetail?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isPaid bool
true if the bill is paid (payment process completed)
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status int
0 = not paid, 1 = payment in progress, 2. paid !
read / write

Methods

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

Operators

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