Compilation Error

Actions & Logic

Hi, with new FlutterFlow update we have a problem with list. We pass a List of Integer from a JSON variable.
We are not using something of customized, just the FF blocks, like we had always done.
From yesterday we have this bug, is an error from new version or is an our problem?

child: FlutterFlowDropDown<int>(
multiSelectController:
_model.dropDownDaysValueController ??=
FormListFieldController<int>(
_model.dropDownDaysValue ??=
List<int>.from(
FFAppState().rruleJson != null
? getJsonField(
FFAppState().rruleJson,
r'''$.byweekday''',
true,
)
: ([0]) ?? [],
)),

What have you tried so far?

Chat gpt tells us to change the code in this way
List<int>.from(
  (FFAppState().rruleJson != null
      ? getJsonField(
          FFAppState().rruleJson,
          r'''$.byweekday''',
          true,
        ) as List<dynamic>?
      : null) ?? [0],
)

obviously, we can't.
Someone know how to solve this?

Did you check FlutterFlow's Documentation for this topic?
Yes
4