SView constructor

const SView({
  1. required String name,
  2. required String id,
  3. required SViewType type,
  4. required LinkMap links,
  5. List<GridField>? fields,
  6. @Deprecated('This will be deprecated in favor of [slotProperties]') Map<String, dynamic>? fieldProperties,
  7. Map<String, dynamic>? slotProperties,
  8. Map<String, SViewSlot>? slots,
  9. Map? properties,
})

Creates a SView

Implementation

const SView({
  required this.name,
  required this.id,
  required this.type,
  required this.links,
  this.fields,
  @Deprecated('This will be deprecated in favor of [slotProperties]')
  Map<String, dynamic>? fieldProperties,
  Map<String, dynamic>? slotProperties,
  this.slots,
  this.properties,
})  : _fieldProperties = fieldProperties,
      _slotProperties = slotProperties;