name property

String get name

Returns the name of the platform.

Implementation

String get name {
  switch (this) {
    case RenamePlatform.android:
      return 'android';
    case RenamePlatform.ios:
      return 'ios';
    default:
      return '';
  }
}