How can I resolve "The argument type 'Object?' can't be assigned to the parameter type 'String'"?
I wanted to put images which were in assets folder but this error happens repeatly: The argument type ‘Object?’ can’t be assigned to the parameter type ‘String’. this is my product.dart: class Product { final String title, description; final List<String> images; final double rating, price; final bool isFavourite, isPopular; Product( {required this.images, this.rating = 0.0,… Read More How can I resolve "The argument type 'Object?' can't be assigned to the parameter type 'String'"?