forestTreesTagging icon indicating copy to clipboard operation
forestTreesTagging copied to clipboard

Add User Datamodel and Refactor file

Open sameeerkashyap opened this issue 4 years ago • 7 comments

Feature request:

Currently, User data is not managed properly. And there is not UserData Model to manage serialization and Deserialization.

  • Create a User Data Model
  • Move SQLite code to a central repository along with firebase methods.
  • make fromJson methods factory.

sameeerkashyap avatar Apr 14 '21 12:04 sameeerkashyap

Can we use firebase for that @Sameerkash ?

Mohitmadhav avatar May 20 '21 08:05 Mohitmadhav

Can we use firebase for that @Sameerkash ?

Firebase is what you have to use, since it is already being used

sameeerkashyap avatar May 21 '21 01:05 sameeerkashyap

@Sameerkash I think this might solve it: https://medium.com/flutterdevs/serialization-of-objects-in-flutter-62c73ce2b2a2 What do you think?

Other references: https://flutter.dev/docs/development/data-and-backend/json https://medium.com/flutter-community/serializing-your-object-in-flutter-ab510f0b8b47

Mohitmadhav avatar May 21 '21 08:05 Mohitmadhav

@Sameerkash I didn't exactly understand the 2nd part (Moving SQLite code). Where exactly the code needs to be moved? Can you explain a bit more?

Mohitmadhav avatar May 21 '21 08:05 Mohitmadhav

@Sameerkash @hkaur008 can I work on this issue??

soma2000-lang avatar Oct 05 '21 23:10 soma2000-lang

Sure 👍

On Wed, 6 Oct, 2021, 4:40 AM Somasree Majumder, @.***> wrote:

@Sameerkash https://github.com/Sameerkash @hkaur008 https://github.com/hkaur008 can I work on this issue??

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CodeFlow201/forestTreesTagging/issues/83#issuecomment-935019811, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOWNVDE7LZTB7NF64X7NJDUFOAVXANCNFSM425JBC3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

hkaur008 avatar Oct 06 '21 00:10 hkaur008

Hi can i work on this issue?

rajat-ventura avatar Oct 01 '22 02:10 rajat-ventura