NiceAdminRole constructor

const NiceAdminRole({
  1. required String id,
  2. required String name,
  3. String? description,
  4. Color? color,
  5. bool isSystem = false,
  6. Map<String, List<String>> permissions = const {},
  7. int userCount = 0,
})

Implementation

const NiceAdminRole({
  required this.id,
  required this.name,
  this.description,
  this.color,
  this.isSystem = false,
  this.permissions = const {},
  this.userCount = 0,
});