Encode the list values according to the list of types.
values
types
external String encode(List<String> types, List<dynamic> values);