~/talk

Basic and advanced networking in Dart and Flutter

Talkat Fluttercon USA 2024 · 2024-09-19..09-20· [networking]
slides:none on file

Migrates domain models to generated JSON-aware classes so API models and mappers disappear, uses JSON serializable (via dart run build_runner) with custom converters for dates and enums, parses union/variant types by injecting runtime type hints, adds an interceptor that reads a request marker to attach auth headers, and replaces repetitive HTTP code with dio + retrofit generation. The demo app uses a mocked backend, the rebuilt client runs and renders events, and the approach removes a large amount of manual code while scaling to many endpoints.

AI-written summary · about

  1. 0:00Welcome
  2. 2:50Project challenges
  3. 11:02Free models and unions
  4. 14:12Repository and API structure
  5. 17:28Eliminating JSON parsing
  6. 24:30Code generation best practices
  7. 37:47Complex JSON inheritance
  8. 44:21Optimizing API interceptors
  9. 54:21Refactoring with Retrofit
  10. 1:08:30Managing dependencies
  11. 1:12:46Final summary
  12. 1:16:20Error handling
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.