RemoveAll function

void RemoveAll()

Implementation

void RemoveAll() async {
   String? cookies = html.document.cookie!;
   List<String> listValues = cookies.isNotEmpty ? cookies.split(";") : [];
   for (int i = 0; i < listValues.length; i++) {
     List<String> map = listValues[i].split("=");
     String _key = map[0].trim();
     String _val = map[1].trim();
     CreateCookie(_key,_val,0);

   }

}