listFromJson static method

List<ObjectMetricSource> listFromJson(
  1. Iterable<Map<String, dynamic>> list
)

Creates a list of ObjectMetricSource from JSON data.

Implementation

static List<ObjectMetricSource> listFromJson(
    Iterable<Map<String, dynamic>> list) {
  return list.map((e) => ObjectMetricSource.fromJson(e)).toList();
}