startsWith method Null safety

bool startsWith(
  1. Characters other
)

Whether this string starts with the characters of other.

Returns true if other the characters of other are also the first characters of this string, and false otherwise.

Implementation

bool startsWith(Characters other);