toMsSmoothManifestEncoding method

MsSmoothManifestEncoding toMsSmoothManifestEncoding()

Implementation

MsSmoothManifestEncoding toMsSmoothManifestEncoding() {
  switch (this) {
    case 'UTF8':
      return MsSmoothManifestEncoding.utf8;
    case 'UTF16':
      return MsSmoothManifestEncoding.utf16;
  }
  throw Exception('$this is not known in enum MsSmoothManifestEncoding');
}