StateAccounting.fromJson constructor
Implementation
factory StateAccounting.fromJson(Map<String, dynamic> json) {
return StateAccounting(
connected: AccountingDuration.fromJson(json['connected']),
disconnected: AccountingDuration.fromJson(json['disconnected']),
full: AccountingDuration.fromJson(json['full']),
syncing: AccountingDuration.fromJson(json['syncing']),
tracking: AccountingDuration.fromJson(json['tracking']),
);
}