listFromJson static method

List<StorageFile> listFromJson(
  1. List json
)

Converts a list of JSON objects to a list of StorageFile instances.

@param json The list of JSON objects to convert. @return A list of StorageFile instances.

Implementation

static List<StorageFile> listFromJson(List<dynamic> json) {
  return json.map((value) => StorageFile.fromJson(value)).toList();
}