PolicyGroup constructor
PolicyGroup(
- String name, {
- Map<
String, PolicySubject> ? policySubjects, - Map<
String, PolicyResource> ? policyResources,
Creates a new PolicyGroup with the given name and optional
policySubjects
and policyResources
.
Implementation
PolicyGroup(this.name,
{Map<String, PolicySubject>? policySubjects,
Map<String, PolicyResource>? policyResources}) {
subjects = <String, PolicySubject>{...?policySubjects};
resources = <String, PolicyResource>{...?policyResources};
}