NamedResource constructor

const NamedResource({
  1. required String id,
  2. required String name,
})

Implementation

const NamedResource({
  required this.id,
  required this.name,
});