listFromJson static method

List<DotCodeParams> listFromJson(
  1. List json
)

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

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

Implementation

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