Entitlement class

Describes a resource entitled for use with a license.

Constructors

Entitlement({required String name, required EntitlementUnit unit, bool? allowCheckIn, int? maxCount, bool? overage, String? value})
Entitlement.fromJson(Map<String, dynamic> json)
factory

Properties

allowCheckIn bool?
Indicates whether check-ins are allowed.
final
hashCode int
The hash code for this object.
no setterinherited
maxCount int?
Maximum entitlement count. Use if the unit is not None.
final
name String
Entitlement name.
final
overage bool?
Indicates whether overages are allowed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit EntitlementUnit
Entitlement unit.
final
value String?
Entitlement resource. Use only if the unit is None.
final

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