ResourceOwner constructor

ResourceOwner({
  1. String? id,
  2. String? oauthID,
  3. required String? name,
  4. ResourceOwnerStatusEnum? status = const ResourceOwnerStatusEnum._('active'),
  5. UserResponseLinks? links,
  6. ResourceOwnerRoleEnum? role = const ResourceOwnerRoleEnum._('owner'),
})

Returns a new ResourceOwner instance.

Implementation

ResourceOwner({
  this.id,
  this.oauthID,
  required this.name,
  this.status = const ResourceOwnerStatusEnum._('active'),
  this.links,
  this.role = const ResourceOwnerRoleEnum._('owner'),
});