listFromJson static method

List<RegionPoint> listFromJson(
  1. List json
)

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

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

Implementation

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