toJson method
Implementation
Map<String, dynamic> toJson() {
final enabled = this.enabled;
final retainStacksOnAccountRemoval = this.retainStacksOnAccountRemoval;
return {
if (enabled != null) 'Enabled': enabled,
if (retainStacksOnAccountRemoval != null)
'RetainStacksOnAccountRemoval': retainStacksOnAccountRemoval,
};
}