toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (bot != null) 'bot': bot!,
if (commandId != null) 'commandId': commandId!,
if (commandName != null) 'commandName': commandName!,
if (triggersDialog != null) 'triggersDialog': triggersDialog!,
if (type != null) 'type': type!,
};