GrantRoleState constructor
const
GrantRoleState({})
Creates a new GrantRoleState.
grantRole The name of the role that is added to role.
role The name of the role that is granted a new membership.
withAdminOption Giving ability to grant membership to others or not for role. (Default: false)
Implementation
const GrantRoleState({
this.grantRole,
this.role,
this.withAdminOption,
});