import 'dart:math' as math; double degToRad(num deg) => deg * (math.pi / 180); double radToDeg(num rad) => rad * (180 / math.pi);