fromJsonMap static method

List<ReleasePackerDartBuild> fromJsonMap(
  1. Map map
)

The commands of the dart_build_<subcommand> entries of map.

Implementation

static List<ReleasePackerDartBuild> fromJsonMap(Map map) => map.entries
    .map((e) {
      var subcommand = subcommandOfJsonKey(e.key);
      return subcommand != null
          ? ReleasePackerDartBuild.fromJson(subcommand, e.value)
          : null;
    })
    .nonNulls
    .toList();