listFromJson static method

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

Creates a list of ScaleSpec from JSON data.

Implementation

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