DataSourceSpec class final

A kind of data a list, grid or pagination can load from, declared like a widget so its settings get a panel: data (the bound list) in the core, cloud and api in the data library.

Annotations
  • @immutable

Constructors

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

Properties

doc → String
final
fields → List<PropDef<Object?>>
final
hashCode → int
The hash code for this object.
no setterinherited
pages → bool
Whether it can serve pagination.
final
requires → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited