The getter 'myEdController0' isn't defined for the class 'MainPageModel'

I have added one FormTextfield and one pin field, user enter input in text field and I called the api the response I am setting to pin field in action I have set data to pin field but that is showing on text form field. but after changing its name I am getting the following error

Launching lib/main.dart on Web Server in debug mode...

Waiting for connection from debug service on Web Server...

lib/pages/main_page/main_page_widget.dart:345:32: Error: The getter 'myEdController0' isn't defined for the class 'MainPageModel'.

- 'MainPageModel' is from 'package:autoready_app/pages/main_page/main_page_model.dart' ('lib/pages/main_page/main_page_model.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'myEdController0'.

_model.myEdController0?.text =

^^^^^^^^^^^^^^^

Waiting for connection from debug service on Web Server... 47.1s

Failed to compile application.

I am unable to debug this issue. I can't edit the code what should I do?

2
1 reply