SlashCommand.fromJson constructor

SlashCommand.fromJson(
  1. Map json_
)

Implementation

SlashCommand.fromJson(core.Map json_)
    : this(
        commandId: json_.containsKey('commandId')
            ? json_['commandId'] as core.String
            : null,
      );