CastDiscoveryException constructor

const CastDiscoveryException(
  1. String message, [
  2. Object? cause
])

Implementation

const CastDiscoveryException(this.message, [this.cause]);