tryAdd abstract method

bool tryAdd(
  1. String? name,
  2. TOptions options
)

Tries to adds a new option to the cache, will return false if the name already exists.

Implementation

bool tryAdd(String? name, TOptions options);