Authorization constructor

Authorization({
  1. AuthorizationStatusEnum? status = const AuthorizationStatusEnum._('active'),
  2. String? description,
  3. DateTime? createdAt,
  4. DateTime? updatedAt,
  5. required String? orgID,
  6. List<Permission>? permissions = const [],
  7. String? id,
  8. String? token,
  9. String? userID,
  10. String? user,
  11. String? org,
  12. 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,
});