toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (name != null) 'name': name!,
if (text != null) 'text': text!,
if (topics != null)
'topics': topics!.map((value) => value.toJson()).toList(),
};