Role constructor

Role({
  1. DateTime? createdAt,
  2. String? description,
  3. String? id,
  4. required String name,
  5. List<String>? permissions = const [],
  6. String? type,
  7. DateTime? updatedAt,
})

Returns a new Role instance.

Implementation

Role({
  this.createdAt,
  this.description,
  this.id,
  required this.name,
  this.permissions = const [],
  this.type,
  this.updatedAt,
});