License class

Constructors

License({required String id, required String userId, required String organizationId, required String productId, required String subscriptionId, required LicenseStatusEnum status, required String? assignedBy, required String? assignedAt, required String? revokedAt, required String? revokedBy, required UserMetadata? metadata, required String? createdAt, required String? updatedAt})
Returns a new License instance.

Properties

assignedAt String?
getter/setter pair
assignedBy String?
getter/setter pair
createdAt String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
License ID
getter/setter pair
metadata UserMetadata?
getter/setter pair
organizationId String
getter/setter pair
productId String
getter/setter pair
revokedAt String?
getter/setter pair
revokedBy String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status LicenseStatusEnum
getter/setter pair
subscriptionId String
getter/setter pair
updatedAt String?
getter/setter pair
userId 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.
override

Operators

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

Static Methods

fromJson(dynamic value) License?
Returns a new License instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<License>
mapFromJson(dynamic json) Map<String, License>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<License>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.