NonSupportedTypeException constructor

NonSupportedTypeException(
  1. dynamic vector,
  2. [String message = 'The runtimetype of expected vector is unsupported: ']
)

Displays vector which have invalid or unsupported runtimeType with default error message.

Creates a NonSupportedTypeException with an optional error message.

Implementation

NonSupportedTypeException(dynamic vector,
    [String message = 'The runtimetype of expected vector is unsupported: '])
    : super('$message $vector (${vector.runtimeType})');