4min chapter

Flying High with Flutter cover image

Ultimate Flutter Course - Flying High with Flutter #59

Flying High with Flutter

CHAPTER

Using Repository Service Patterns in GitX

GitX hides a lot of what makes flutter flutter, something like that. So you would be screwed if there was a big change that GitX no longer worked and you'd be relying on somebody to fix it for you. But in terms of architecture and code, I've noticed that having two classes where you make the request and handle one part when you make a request, one class that calls that class and handles all of the exceptions,. And then returns a functional programming style of handling errors to the UI or to the class calling that service. Kind of reduces a lot of unnecessary boilerplate in the codethat you don't usually want to have a lot of boilerplate.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode