name property

String get name

Implementation

String get name {
  switch (this) {
    case DeviceScreenType.desktop:
      return "Desktop";
    case DeviceScreenType.mobile:
      return "Mobile";
    default:
      return "Unknow";
  }
}