Map<String, dynamic> toMap() { Map<String, dynamic> map = new Map(); map["label"] = this.label; map["amount"] = this.amount; return map; }