listFromJson static method

List<GeneratorParamsList> listFromJson(
  1. List json
)

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

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

Implementation

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