EntitlementInfos constructor

const EntitlementInfos(
  1. Map<String, EntitlementInfo> all,
  2. Map<String, EntitlementInfo> active
)

Implementation

const factory EntitlementInfos(
  /// Map of all EntitlementInfo (`EntitlementInfo`) objects (active and inactive)
  /// keyed by entitlement identifier.
  final Map<String, EntitlementInfo> all,

  /// Map of active EntitlementInfo (`EntitlementInfo`) objects keyed by
  /// entitlement identifier.
  final Map<String, EntitlementInfo> active,
) = _EntitlementInfos;