fromYamlMap static method
Implementation
static PlatformConfiguration? fromYamlMap(dynamic map) {
if (map == null) {
return null;
}
if (map is! YamlMap) {
throw InvalidFormatException();
}
return PlatformConfiguration(id: map[_idKey], name: map[_nameKey]);
}