Authorization constructor
Authorization({
- AuthorizationStatusEnum? status = const AuthorizationStatusEnum._('active'),
- String? description,
- DateTime? createdAt,
- DateTime? updatedAt,
- required String? orgID,
- List<
Permission> ? permissions = const [], - String? id,
- String? token,
- String? userID,
- String? user,
- String? org,
- AuthorizationAllOfLinks? links,
Returns a new Authorization instance.
Implementation
Authorization({
this.status = const AuthorizationStatusEnum._('active'),
this.description,
this.createdAt,
this.updatedAt,
required this.orgID,
this.permissions = const [],
this.id,
this.token,
this.userID,
this.user,
this.org,
this.links,
});