fromList<T> method

List<T> fromList<T>(
  1. String key, {
  2. List<T>? defaultValue,
  3. bool returnNull = false,
  4. bool skipInvalid = false,
  5. SuperConverter<T>? converter,
})

Implementation

List<T> fromList<T>(
  String key, {
  List<T>? defaultValue,
  bool returnNull = false,
  bool skipInvalid = false,

  /// to use single time used converter
  SuperConverter<T>? converter,
}) {
  var data = extractValue(key);

  return SuperConverter.convertToList(
    data,
    defaultValue: defaultValue,
    skipInvalid: skipInvalid,
    converter: converter,
  );
}