ValidationError constructor

ValidationError(
  1. String field, [
  2. String? message
])

Implementation

ValidationError(this.field, [this.message]);