Refactor LocalStorageService to make it work with list of object
Proof Of Work
*** Request ***
uri: https://nimble-survey-web-staging.herokuapp.com/api/v1/surveys?number=1&size=5
method: GET
responseType: ResponseType.json
followRedirects: true
connectTimeout: 0
sendTimeout: 0
receiveTimeout: 0
receiveDataWhenStatusError: true
extra: {}
headers:
authorization: Bearer CJ6RhYWYZGPPTtEoXDfN5Zbjw6hL0za41iHXyNYjPAY
data:
null
*** Response ***
uri: https://nimble-survey-web-staging.herokuapp.com/api/v1/surveys?number=1&size=5
statusCode: 200
headers:
cache-control: max-age=0
private
must-revalidate
content-type: application/json; charset=utf-8
Response Text:
{"data":[{"id":"d5de6a8f8f5f1cfe51bc","type":"survey","attributes":{"title":"Scarlett Bangkok","description":"We'd love ot hear from you!","thank_email_above_threshold":"<span style=\"font-family:arial,helvetica,sans-serif\"><span style=\"font-size:14px\">Dear {name},<br /><br />Thank you for visiting Scarlett Wine Bar & Restaurant at Pullman Bangkok Hotel G and for taking the time to complete our guest feedback survey!<br /><br />Your feedback is very important to us and each survey is read individually by the management and owners shortly after it is sent. We discuss comments and suggestions at our daily meetings and use them to constantly improve our services.<br /><br />We would very much appreciate it if you could take a few more moments and review us on TripAdvisor regarding your recent visit. By <a href=\"https://www.tripadvisor.com/Restaurant_Review-g293916-d2629404-Reviews-Scarlett_Wine_Bar_Restaurant-Bangkok.html\">clicking here</a> you will be directed to our page. <br
https://github.com/markgravity/flutter-survey/issues/26
What happened
Fetch surveys from server
Insight
Proof Of Work