toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Platform.windows:
      return 'Windows';
    case Platform.linux:
      return 'Linux';
  }
}