StartsWith constructor

const StartsWith(
  1. Pattern pattern, [
  2. String? error
])

Implementation

const StartsWith(this.pattern, [String? error]) : super(error);