Get your own website
main.dart:4:11: Error: The method 'toUpperCase' isn't defined for the type 'Object'.
 - 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'toUpperCase'.
  print(x.toUpperCase());
          ^^^^^^^^^^^