flutterVersionsMatrix function

Map<String, Object> flutterVersionsMatrix(
  1. List<FlutterVersion> versions
)

The matrix of the nightly workflow for versions: the FlutterVersion.toJson of each.

Implementation

Map<String, Object> flutterVersionsMatrix(List<FlutterVersion> versions) => {
      'include': [for (final version in versions) version.toJson()],
    };