Exception has occurred.
_TypeError (type 'Null' is not a subtype of type 'int') این اکسپشن رو میده برای [previous_price]json
سلام.
اینطور بنویسید ببینید درست میشه:
prevPrice = json['previous_price'] ?? price;