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