val property

int get val

Implementation

int get val{
  switch (this) {
    case Aling.left:
      return 0;
    case Aling.center:
      return 1;
    case Aling.rigth:
      return 2;
      default:
        return 0;
  }
}