type 'List<Series<LinearSales, int>>' is not a subtype of type 'List<Series<dynamic, DateTime>>' code example
Example: type 'List' is not a subtype of type 'List'
snapshot.data.documents.map<Widget>((document) {
return new ListTile(
title: new Text(document['name']),
subtitle: new Text("Class"),
);
}).toList()