All Questions

Community

s
prahasith somarowthu

parameter not passed at line:19 (10min 13 sec)

in line:19 when "enter" method is being called, why aren't we passing dictionary parameter? is it optional?
  • Nathan Lovato replied
    Solution

    Yes, it's optional. The enter method's msg dictionary defaults to an empty dictionary:

    func enter(msg := {}) -> void: