toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ModelPackageType.versioned:
      return 'Versioned';
    case ModelPackageType.unversioned:
      return 'Unversioned';
    case ModelPackageType.both:
      return 'Both';
  }
}