listFromJson static method

List<Code128EncodeMode> listFromJson(
  1. List json
)

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

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

Implementation

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