Data class
Constructors
-
Data({String? uid, String? referralCode, bool? isGlobalSalesPool, bool? isFounder, bool? isCorporate, String? wallet, bool? hasConfirmedBooking, String? parentId, String? createdAt, String? updatedAt, String? loggedInLocation, Subscriptions? currentSubscription, List<
Subscriptions> ? addons, List<String> ? prevReferralCode, UserModel? user, UserConfig? userConfig, int? totalAdultPassengerLimit, int? totalUnusedAdultPassengerLimit, int? totalNeoMilesPaymentPercentage, int? totalNeoOneMonthlySubscription, int? adultPassengerLimit, int? maxExclusiveBookings, int? unusedExclusiveBookings}) -
Data.fromJson(Map<
String, dynamic> json)
Properties
-
addons
↔ List<
Subscriptions> ? -
getter/setter pair
- adultPassengerLimit ↔ int?
-
getter/setter pair
- createdAt ↔ String?
-
getter/setter pair
- currentSubscription ↔ Subscriptions?
-
getter/setter pair
-
getter/setter pair
- hasConfirmedBooking ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCorporate ↔ bool?
-
getter/setter pair
- isFounder ↔ bool?
-
getter/setter pair
- isGlobalSalesPool ↔ bool?
-
getter/setter pair
- loggedInLocation ↔ String?
-
getter/setter pair
- maxExclusiveBookings ↔ int?
-
getter/setter pair
- parentId ↔ String?
-
getter/setter pair
-
prevReferralCode
↔ List<
String> ? -
getter/setter pair
- referralCode ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalAdultPassengerLimit ↔ int?
-
getter/setter pair
- totalNeoMilesPaymentPercentage ↔ int?
-
getter/setter pair
- totalNeoOneMonthlySubscription ↔ int?
-
getter/setter pair
- totalUnusedAdultPassengerLimit ↔ int?
-
getter/setter pair
- uid ↔ String?
-
getter/setter pair
- unusedExclusiveBookings ↔ int?
-
getter/setter pair
- updatedAt ↔ String?
-
getter/setter pair
- usedAdultPassengers → int
-
no setter
- usedExclusiveBookings → int
-
no setter
- user ↔ UserModel?
-
getter/setter pair
- userConfig ↔ UserConfig?
-
getter/setter pair
- wallet ↔ 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