list static method
Multiple files grouped under the same form-field key, e.g.
SmartApiFile.list(key: "images", paths: [p1, p2, p3]).
Implementation
static List<SmartApiFile> list({required String key, required List<String> paths}) =>
paths.map((p) => SmartApiFile(key: key, path: p)).toList();