DataSourceSpec constructor

const DataSourceSpec(
  1. String type, {
  2. required List<PropDef<Object?>> fields,
  3. bool pages = false,
  4. List<String> requires = const [],
  5. String doc = '',
})

Implementation

const DataSourceSpec(this.type, {required this.fields, this.pages = false, this.requires = const [], this.doc = ''});