AppVersion.fromString constructor

AppVersion.fromString(
  1. String appName,
  2. Map<String, dynamic> version
)

Implementation

AppVersion.fromString(String appName, Map<String, dynamic> version) {
  _appName = appName;
  _versionString = version['version'];
  _branch = version['branch'];
  _description = version['description'];
  _title = version['title'];
  _parseVersionSegment(_versionString);
}