Role constructor

Role(
  1. String id, {
  2. String? rev,
  3. int? deletionDate,
  4. String? name,
  5. Set<String>? permissions,
})

Implementation

Role(
	this.id,
	{
		String? rev,
		int? deletionDate,
		String? name,
		Set<String>? permissions
	}) : rev = rev ?? null,
	deletionDate = deletionDate ?? null,
	name = name ?? null,
	permissions = permissions ?? {};