toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PackageType.zip:
      return 'Zip';
    case PackageType.image:
      return 'Image';
  }
}