listFromJson static method

List<ResultImageInfo> listFromJson(
  1. List json
)

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

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

Implementation

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