TypeException constructor

TypeException([
  1. String message = "Type Error (wrong type for whatever you're doing)",
  2. Exception? inner
])

Implementation

TypeException(
    [super.message = "Type Error (wrong type for whatever you're doing)",
    super.inner]);