UriValidator constructor

const UriValidator({
  1. String? path,
  2. String? host,
  3. String? scheme,
  4. int? port,
  5. String? fieldName,
  6. String? errorMessage,
})

Implementation

const UriValidator({
  this.path,
  this.host,
  this.scheme,
  this.port,
  String? fieldName,
  String? errorMessage,
}) : super(
        fieldName: fieldName,
        message: errorMessage ?? 'should be a valid Uri',
      );