processOptionCallback property

  1. @override
(void Function(CommandOptionBuilder)?) processOptionCallback
override

A callback called with the CommandOptionBuilder created for an option using this converter.

Can be used to make custom changes to the builder that are not implemented by default.

Implementation

@override
void Function(CommandOptionBuilder)? get processOptionCallback =>
    _customProcessOptionCallback ?? converter.processOptionCallback;