MultiFile<T>.fromFile constructor

MultiFile<T>.fromFile(
  1. T? file
)

Implementation

factory MultiFile.fromFile(T? file) => MultiFile(
      files: [file].whereType<T>().toList(),
    );