ListDataPicker<T>.error constructor
const
ListDataPicker<T>.error (
- String error
A factory constructor that creates a ListDataPickerError object.
error: an error message as a string.
This constructor is used to create a ListDataPickerError object, which is used
to indicate that an error occurred when loading data.
Implementation
const factory ListDataPicker.error(String error) = ListDataPickerError;