DataSource<T> class

Constructors

DataSource({required List<Map<String, T>> dataList, required DataSourceOptions options, List<T> valueList = const []})
DataSource.fromJson(Map<String, dynamic> json)

Properties

dataList List<Map<String, T>>
A map list that contains the label and the value of the checkbox data.
final
hashCode int
The hash code for this object.
no setterinherited
options DataSourceOptions
Options to configure the DataSource
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueList List<T>
The list of the current values of the checkbox. By default, it's initialValue is provided by DataSource.valueList as an empty list.
final

Methods

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

Operators

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