Skip to content

Instantly share code, notes, and snippets.

@kranfix
kranfix / parser_draft.dart
Created June 28, 2024 02:44
Draft: Proposal for efficient parsing of json
class Store {
Store(this.name, this.address, this.geoPosition, this.employees);
Store.fromUnsafeMap(Map<String, dynamic> json)
: name = json['name'],
address = json['address'],
geoPosition = json['geoPosition'],
employees = json['employees'];
final String name;