Navigating another Screen

i have to navigate another screen using http response without using navigator.of(context).

navigate using ternary operator

@ReeganAntony What have you done so far?
Please show your work.
So that we can guide you where you are stucked.