TimeoutException class - dart:async library (original) (raw)

Thrown when a scheduled timeout happens while waiting for an async result.

Implemented types

Constructors

TimeoutException(String? message, [Duration? duration])

Properties

durationDuration?

The duration that was exceeded.

final

hashCodeint

The hash code for this object.

no setterinherited

messageString?

Description of the cause of the timeout.

final

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

Methods

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

A string representation of this object.

override

Operators

operator ==(Object other)→ bool

The equality operator.

inherited