listFromJson static method

List<AztecEncodeMode> listFromJson(
  1. List json
)

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

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

Implementation

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