matchAsPrefix static method

Match? matchAsPrefix(
  1. String? pattern,
  2. String string, [
  3. int start = 0
])

Refer to Safe.matchAsPrefix

Implementation

static Match? matchAsPrefix(
  String? pattern,
  String string, [
  int start = 0,
]) => Safe.matchAsPrefix(pattern, string, start);