NiceResource constructor

const NiceResource({
  1. required String id,
  2. required String name,
  3. String? type,
  4. double capacity = 8,
  5. String? department,
  6. IconData? avatar,
})

Implementation

const NiceResource({
  required this.id,
  required this.name,
  this.type,
  this.capacity = 8,
  this.department,
  this.avatar,
});