NoSuchMethodError: Class 'RuntimeContext' has no instance method 'error'.
Receiver: Instance of 'RuntimeContext'
Tried calling: error("Error: ", "NoSuchMethodError: Class 'RuntimeContext' has no instance method 'log'.\nReceiver: Instance of 'RuntimeContext'\nTried calling: log(Updated row count:, 31)")
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:85)
#2 main (package:set_shop_and_line/main.dart:49)
<asynchronous suspension>
#3 Future.any.onValue (dart:async/future.dart:628)
<asynchronous suspension>
The code works if I remove the logging. https://appwrite.io/docs/products/functions/develop#logging