requireFamilyRuntime function
family's library for target, or an UnsupportedError naming the
targets that have one.
Implementation
FamilyRuntime requireFamilyRuntime(String family, String target) {
final runtimes = familyRuntimes[family];
if (runtimes == null) throw ArgumentError.value(family, 'family');
final runtime = runtimes[target];
if (runtime != null) return runtime;
throw UnsupportedError(_unsupportedTarget(family, target, runtimes.keys));
}