for use with dart default types
List<T> convertJsonArray<T>(List<dynamic> json) { return json.map((e) => e as T).toList(); }