listFromJson static method

List<ObjectExist> listFromJson(
  1. List json
)

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

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

Implementation

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