find method

Expr find(
  1. Object pattern, {
  2. bool literal = false,
  3. bool strict = true,
})

Implementation

Expr find(Object pattern, {bool literal = false, bool strict = true}) =>
    _expr._function(
      'str.find',
      arguments: [pattern],
      options: {'literal': literal, 'strict': literal ? false : strict},
    );