VersionInfo.fromMap constructor
Factory method to construct VersionInfo from dictionary
Implementation
factory VersionInfo.fromMap(Map<Object?, Object?>? versionInfoMap) {
return VersionInfo (
buildVersion: (versionInfoMap != null && versionInfoMap.containsKey("buildVersion")) ? versionInfoMap["buildVersion"] as String : "",
environment: (versionInfoMap != null && versionInfoMap.containsKey("environment")) ? versionInfoMap["environment"] as String : "",
);
}