isString top-level property

Matcher isString
final

Asserts that a value is a String.

Implementation

final Matcher isString = predicate((value) => value is String, 'a string')