listFromJson static method

List<GeneratorParams> listFromJson(
  1. List json
)

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

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

Implementation

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