imdzx / flutter_health_connect

MIT License
3 stars 24 forks source link

Add models of records for importing/exporting data #14

Closed rickcasson closed 1 year ago

rickcasson commented 1 year ago

To more easily manage the importing and exporting of data through Health Connect, I've added Dart equivalents to the Kotlin models in the API along with the required mapping logic. I also added the ability to write and delete records, as well as updated to the latest version of the API (1.1.0-alpha02). I've tested the reading and writing of a handful of record types, but would appreciate any feedback if anyone comes across any issues with record mapping!

owjoh commented 1 year ago

@duynguyen242 Can you have a look at this?