I have this formatted string date
2020/04/16 (YYYY/MM/DD)
I want to parse this string to Datetime
var string= 2020/04/16
DateTime.parse(string);
Obviusly doesn´t work, doesn´t has a date correct format.
Somebody know what is the best way to parse this string to DateTime?