TypeCoercionException constructor Null safety

TypeCoercionException(
  1. Type expectedType,
  2. Type actualType
)

Implementation

TypeCoercionException(this.expectedType, this.actualType);