name property

String get name

Returns the name of the platform.

Implementation

String get name {
  switch (this) {
    case RenamePlatform.android:
      return 'android';
    case RenamePlatform.macOS:
      return 'macos';
    case RenamePlatform.ios:
      return 'ios';
    case RenamePlatform.linux:
      return 'linux';
    case RenamePlatform.web:
      return 'web';
    case RenamePlatform.windows:
      return 'windows';
    default:
      return '';
  }
}