PaymentItem class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- PaymentItem({String? description, int? quantity, double? price, double? tax, dynamic name})
-
PaymentItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ dynamic
-
getter/setter pair
- price ↔ double?
-
getter/setter pair
- quantity ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tax ↔ double?
-
getter/setter pair
Methods
-
fromJsonList(
List? jsonList) → List< PaymentItem> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → PaymentItem? -
fromJsonString(
String? json) → PaymentItem? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< PaymentItem> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited