toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (merchantAccountId != null) 'merchantAccountId': merchantAccountId!,
if (name != null) 'name': name!,
if (quantity != null) 'quantity': quantity!,
if (value != null) 'value': value!,
};