FormatException constructor

const FormatException(
  1. [String message = "",
  2. dynamic source,
  3. int? offset]
)

Creates a new FormatException with an optional error message.

Optionally also supply the actual source with the incorrect format, and the offset in the format where a problem was detected.

Implementation

const FormatException