name property

String name

Implementation

String get name {
  switch (this) {
    case DrawOrder.topDown:
      return 'topdown';
    case DrawOrder.indexOrder:
      return 'index';
  }
}