factory ADATransactionAmount.fromJson(Map<String, dynamic> json) { return ADATransactionAmount(unit: json['unit'], quantity: json['quantity']); }