listFromJson static method

List<PatchCodeParams> listFromJson(
  1. List json
)

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

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

Implementation

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