getCompatibleOptions method

CallOptions? getCompatibleOptions(
  1. RunnableOptions? options
)

Returns the given options if they are compatible with the Runnable, otherwise returns null.

Implementation

CallOptions? getCompatibleOptions(final RunnableOptions? options) {
  return options is CallOptions ? options : null;
}