connect-sdk / de.proglove.sdk.commands / IPgCommandData / toCommand
toCommand
open fun toCommand(params:
PgCommandParams
):
PgCommand
<T>
Wraps this commandData in a PgCommand.
Parameters
params
- The PgCommandParams that are added to the wrapping PgCommand
Return The PgCommand wrapping this commandData and the provided params
open fun toCommand():
PgCommand
<T>
Wraps this commandData in a PgCommand.
Return The PgCommand wrapping this commandData and default PgCommandParams