toMap returns a map with each property of the class as it's field name and their respective data as value.
Map<String, dynamic> toMap();