ResourceOwner constructor
ResourceOwner({
- String? id,
- String? oauthID,
- required String? name,
- ResourceOwnerStatusEnum? status = const ResourceOwnerStatusEnum._('active'),
- UserResponseLinks? links,
- 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'),
});