Can you put this class in `utils.dart` instead?