SmartLinksBridgeBudget class

Budgets for the native bridge.

MethodChannel.invokeMethod has NO timeout. If the native side never replies the returned future never completes AND never throws, so a surrounding try/catch cannot see it — the caller simply waits forever. When that call sits before runApp the app never draws a first frame: no crash, no log, no Crashlytics record, just a blank screen. That is how "app doesn't open at all" is produced (SmartLinks concern #2600, Stocks).

So every bridge call below is bounded. The budget differs by kind: launch-path calls must fail fast, AI work is legitimately slow.

Annotations

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
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.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

ai → const Duration
Model inference; slow by nature, but not unbounded.
launch → const Duration
Runs before the first frame — must never hold the UI.
request → const Duration
Ordinary request/response against the backend.