toJson method
Implementation
Map<String, dynamic> toJson() {
final cookieName = this.cookieName;
final policyName = this.policyName;
return {
if (cookieName != null) 'CookieName': cookieName,
if (policyName != null) 'PolicyName': policyName,
};
}