factory Health.fromJson(Map<String, dynamic> json) { return Health( peers: json['peers'] as int, isSyncing: json['isSyncing'] as bool, shouldHavePeers: json['shouldHavePeers'] as bool, ); }