toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TypeDefinitionFormat.sdl:
      return 'SDL';
    case TypeDefinitionFormat.json:
      return 'JSON';
  }
}