getSymbol abstract method

Symbol? getSymbol(
  1. String? key
)

Returns a const Symbol that can be safely used for named parameters in Function.apply.

  • NOTE: A non-const Symbol may not work depending on the compiled architecture, such as on Wasm.

Implementation

Symbol? getSymbol(String? key);