casting of list<dynamic> to List<String> flutter code example
Example: flutter convert list dynamic to list string
// succeeds - is dynamic
// gives List
var target_list_1 = [] + str_list;
// succeeds - is dynamic
// gives List
var target_list_2 = List.from(str_list);