Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter convert list dynamic to list string

// succeeds - is dynamic
// gives List<dynamic> 
var target_list_1 = [] + str_list;

// succeeds - is dynamic
// gives List<dynamic> 
var target_list_2 = List<dynamic>.from(str_list);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #convert #list #dynamic #list #string
ADD COMMENT
Topic
Name
1+7 =