Recommendation class
- Annotations
-
- @JsonSerializable()
Constructors
-
Recommendation({int? id, int? rule, int? rank, String? fareType, String? product, String? ticketType, String? ticketTime, String? productType, String? discountCard, String? zones, String? cost, String? priceDescription, String? priceComparison, String? recommendedTopUp, List<
Message> ? notes, List<Message> ? keyFeatures, List<Message> ? gettingYourTicket, double? singleFare}) -
Recommendation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- cost ↔ String?
-
getter/setter pair
- discountCard ↔ String?
-
getter/setter pair
- fareType ↔ String?
-
getter/setter pair
-
gettingYourTicket
↔ List<
Message> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
-
keyFeatures
↔ List<
Message> ? -
getter/setter pair
-
notes
↔ List<
Message> ? -
getter/setter pair
- priceComparison ↔ String?
-
getter/setter pair
- priceDescription ↔ String?
-
getter/setter pair
- product ↔ String?
-
getter/setter pair
- productType ↔ String?
-
getter/setter pair
- rank ↔ int?
-
getter/setter pair
- recommendedTopUp ↔ String?
-
getter/setter pair
- rule ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleFare ↔ double?
-
getter/setter pair
- ticketTime ↔ String?
-
getter/setter pair
- ticketType ↔ String?
-
getter/setter pair
- zones ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
List json) → List< Recommendation> -
mapFromJson(
Map< String, dynamic> json) → Map<String, Recommendation>