value property
String
get
value
Implementation
String get value {
switch (this) {
case DiagonalDirection.bottomRight:
return "BOTTOM_RIGHT";
case DiagonalDirection.bottomLeft:
return "BOTTOM_LEFT";
case DiagonalDirection.topRight:
return "TOP_RIGHT";
case DiagonalDirection.topLeft:
return "TOP_LEFT";
default:
return "BOTTOM_RIGHT";
}
}