fromYamlMap static method
Implementation
static BuildVersion? fromYamlMap(dynamic map) {
if (map == null) {
return null;
}
if (map is! YamlMap) {
throw InvalidFormatException();
}
return BuildVersion(
buildName: map[_BUILD_NAME_KEY], buildNumber: map[_BUILD_NUMBER_KEY]);
}