value property

String value

The ApiVersion as a string.

Implementation

String get value {
  switch (this) {
    case ApiVersion.beta:
      return 'beta';
    case ApiVersion.v2:
      return 'v2';
  }
}