listFromJson static method

List<FileVersion> listFromJson(
  1. List json
)

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

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

Implementation

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