transformFromList method

  1. @override
dynamic transformFromList(
  1. List<T>? list
)
override

Implementation

@override
dynamic transformFromList(List<T>? list) {
  if (transformerFromList != null) {
    return transformerFromList!(list);
  }

  if (list == null || list.isEmpty) return null;
  return list.map(transformFrom).toList();
}