~/talk

Modern JSON Handling in a Macro-less Flutter Era

Talkat Fluttercon USA 2025 · 2025-06-25..06-26· [flutter, developer-experience]
links:none on file
slides:none on file

Compares manual JSON methods, json_serializable generated code, and freezed data classes, demonstrating concrete patterns like using top-level converters for yes/no booleans and seconds-from-epoch DateTime, and recommending includeIfNull: false plus null-coalescing defaults. Describes the practical promise of augmentations to attach fromJson/toJson to external types and to spread implementations across files. Gives actionable build_runner tips: use --watch, optionally --delete-conflicting-outputs, exclude .g.dart from analyzer, and decide whether CI should run generation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49Pain of manual JSON
  3. 3:32Dart macros dream
  4. 5:15Dart convert basics
  5. 7:02JSON serializable reality
  6. 8:47Imperfect API data
  7. 9:49Augmentations future
  8. 11:33Augmentations example
  9. 12:57Custom data types converter
  10. 13:39Freezed data classes
  11. 15:03Build runner CI tips
  12. 17:31Q&A
~/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.