Update requestHelper.dart to reflect changes in Dart.