toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (amount != null) 'amount': amount!,
if (budgetFilter != null) 'budgetFilter': budgetFilter!,
if (displayName != null) 'displayName': displayName!,
if (etag != null) 'etag': etag!,
if (name != null) 'name': name!,
if (notificationsRule != null) 'notificationsRule': notificationsRule!,
if (ownershipScope != null) 'ownershipScope': ownershipScope!,
if (thresholdRules != null) 'thresholdRules': thresholdRules!,
};