matcher method

  1. @override
bool matcher(
  1. Token token
)
override

Implementation

@override
bool matcher(Token token) =>
    token.type == 'color' &&
    token.valueAsString?.startsWith('linear-gradient') == true;