SemanticTokensLegend constructor

SemanticTokensLegend(
  1. List<String> tokenTypes, [
  2. List<String>? tokenModifiers
])

Implementation

factory SemanticTokensLegend(
  _i2.List<_i2.String> tokenTypes, [
  _i2.List<_i2.String>? tokenModifiers,
]) =>
    _i5.callConstructor(
      _declaredSemanticTokensLegend,
      [
        tokenTypes,
        tokenModifiers ?? _i6.undefined,
      ],
    );