The Location class provides a wrapper for relative(~ ~ ~) coordinates:
const Location.rel({this.x = 0, this.y = 0, this.z = 0}) : location = '~$x ~$y ~$z';