listFromJson static method

List<AustralianPostParams> listFromJson(
  1. List json
)

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

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

Implementation

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