License class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

License({required String forId, required LicenseType forType, required String forName, required LicenseAction forAction})
Returns a new License instance.
License.fromJson(Map<String, dynamic> json)
factory

Properties

forAction LicenseAction
final
forId String
Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the forType field.
final
forName String
final
forType LicenseType
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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