FormatException class
Exception thrown when a string or some other data does not have an expected format and cannot be parsed or processed.
- Implemented types
Constructors
- FormatException.new([String message = "", dynamic source, int? offset])
-
Creates a new
FormatException
with an optional errormessage
.const
Properties
- hashCode â int
-
The hash code for this object.
no setterinherited
- message â String
-
A message describing the format error.
final
- offset â int?
-
The offset in source where the error was detected.
final
- runtimeType â Type
-
A representation of the runtime type of the object.
no setterinherited
- source â dynamic
-
The actual source input which caused the error.
final
Methods
-
noSuchMethod(
Invocation invocation) â dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) â String -
Returns a description of the format exception.
override
Operators
-
operator ==(
Object other) â bool -
The equality operator.
inherited