dvLegacyPlatformKeys function
The older top-level platform keys section still uses, for a note that
they have moved under platforms:.
Implementation
List<String> dvLegacyPlatformKeys(Map<Object?, Object?> section) => <String>[
for (final String name in dvPlatformNames)
if (section[name] is Map) name,
];