EntitlementInfos constructor
const
EntitlementInfos(
- Map<
String, EntitlementInfo> all, - Map<
String, EntitlementInfo> active, { - @Default(VerificationResult.notRequested) VerificationResult verification,
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, {
/// If entitlement verification was enabled, the result of that verification.
/// If not, `VerificationResult.NOT_REQUESTED`.
@Default(VerificationResult.notRequested)
final VerificationResult verification,
}) = _EntitlementInfos;