listFromJson static method

List<Pdf417CompactionMode> listFromJson(
  1. List json
)

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

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

Implementation

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