listFromJson static method

List<MaxiCodeParams> listFromJson(
  1. List json
)

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

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

Implementation

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