FormatException constructor Null safety

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

@pragma("vm:entry-point")
const FormatException([this.message = "", this.source, this.offset]);