xmlValue property

String xmlValue

Implementation

String get xmlValue {
  switch (this) {
    case Unit.px:
      return 'px';
    case Unit.per:
      return '%';
    case Unit.em:
      return 'em';
  }
}