toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (customData != null) "custom_data": encodeValue(customData),
if (description != null) "description": encodeValue(description),
if (label != null) "label": encodeValue(label),
if (owner != null) "owner": encodeValue(owner),
if (reference != null) "reference": encodeValue(reference),
"account_id": encodeValue(accountId),
};