TypeMismatchException constructor

TypeMismatchException(
  1. String fieldKey,
  2. String expectedType,
  3. String actualType
)

Implementation

TypeMismatchException(String fieldKey, String expectedType, String actualType)
    : super(
          'Type Mismatch: $fieldKey must be a $expectedType, but got $actualType');