stringValue property

String stringValue

Returns the String identifier of an instance of DpiResolution.

Implementation

String get stringValue => const <DpiResolution, String>{
      DpiResolution.low: 'low',
      DpiResolution.medium: 'medium',
      DpiResolution.high: 'high',
    }[this]!;