I have a list in flutter which has offset points.
List<Offset> _points = <Offset>[];
I am trying to save the list to firebase .
floatingActionButton: new FloatingActionButton(
child: new Icon(Icons.save),
onPressed: ()=>Firestore.instance.collection('points').add({"point":_points.toString()}),
It is saving to firebase as a string

When i try to save as a list
floatingActionButton: new FloatingActionButton(
child: new Icon(Icons.save),
onPressed: ()=>Firestore.instance.collection('points').add({"point":_points.toList()}),
It gives the following error
Invalid argument: Instance of 'Offset'
I need to save it an array instead of a string.How can i get that done