toJson method
Implementation
Map<String, dynamic> toJson() {
final raw = this.raw;
final simple = this.simple;
final template = this.template;
return {
if (raw != null) 'Raw': raw,
if (simple != null) 'Simple': simple,
if (template != null) 'Template': template,
};
}