listFromJson static method

List<PostalParams> listFromJson(
  1. List json
)

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

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

Implementation

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