ClearanceData class
Represents the actual data returned when an invoice is successfully cleared.
Constructors
- ClearanceData.new({required String clearanceStatus, required String clearedInvoice})
- Constructs a ClearanceData object.
Properties
- clearanceStatus → String
-
The status of the clearance operation (e.g., "Cleared").
final
- clearedInvoice → String
-
The base64 encoded cleared invoice string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> - Converts the object into a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ClearanceData - Parses a ClearanceData object from a JSON map.