ResourceConfig constructor

const ResourceConfig({
  1. required String title,
  2. required List<ResourceField> fields,
  3. required String listPath,
  4. String? createPath,
  5. String? updatePath,
  6. String? deletePath,
  7. String titleKey = 'title',
  8. String? subtitleKey,
  9. String singular = 'registro',
  10. String idKey = 'id',
})

Implementation

const ResourceConfig({
  required this.title,
  required this.fields,
  required this.listPath,
  this.createPath,
  this.updatePath,
  this.deletePath,
  this.titleKey = 'title',
  this.subtitleKey,
  this.singular = 'registro',
  this.idKey = 'id',
});