EntitlementInfos class

This class contains all the entitlements associated to the user.

Annotations
  • @freezed

Constructors

EntitlementInfos(Map<String, EntitlementInfo> all, Map<String, EntitlementInfo> active, {@Default(VerificationResult.notRequested) VerificationResult verification})
const
factory
EntitlementInfos.fromJson(Map<String, dynamic> json)
factory

Properties

active Map<String, EntitlementInfo>
Map of active EntitlementInfo (EntitlementInfo) objects keyed by entitlement identifier.
no setterinherited
all Map<String, EntitlementInfo>
Map of all EntitlementInfo (EntitlementInfo) objects (active and inactive) keyed by entitlement identifier.
no setterinherited
copyWith → $EntitlementInfosCopyWith<EntitlementInfos>
Create a copy of EntitlementInfos with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verification VerificationResult
If entitlement verification was enabled, the result of that verification. If not, VerificationResult.NOT_REQUESTED.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this EntitlementInfos to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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