toJson method

Map<String, dynamic> toJson()

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!,
    };