UnsupportedTypeException constructor
Creates an exception when an unsupported type is used.
Implementation
UnsupportedTypeException(dynamic value, List<Type> supportedTypes)
: super('Unsupported type ${value.runtimeType} used ($value).'
' Supported types are ${supportedTypes.join(',')}');