toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (about != null) "about": encodeValue(about),
if (attachments != null) "attachments": encodeValue(attachments),
if (locale != null) "locale": encodeValue(locale),
if (variables != null) "variables": encodeValue(variables),
"channel": encodeValue(channel),
"email": encodeValue(email),
"name": encodeValue(name),
"purpose": encodeValue(purpose),
};