listFromJson static method

List<MaxiCodeMode> listFromJson(
  1. List json
)

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

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

Implementation

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