APIHotReload class abstract
Hot Reload handler.
Constructors
Properties
Methods
-
disable(
) → Future< bool> - Disables Hot Reload.
-
enable(
) → Future< bool> - Enables Hot Reload.
-
getIsolateID(
Object isolate) → String? -
Returns the
isolate
ID that can be used at ignoreIsolate. -
ignoreIsolate(
String isolateId, [bool ignore = true]) → void -
Ignores an
Isolate
withisolateId
for Hot Reload. -
isHotReloadAllowed(
) → Future< bool> -
Returns
true
if Hot Reload is allowed in this Dart process. -
isIgnoredIsolate(
String? isolateId) → bool -
Returns
true
ifisolateId
is in ignore list for Hot Reload. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reload(
{bool force = false, bool autoEnable = true}) → Future< bool> - Triggers reload of modified source codes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
get(
) → APIHotReload - Returns the static APIHotReload instance for the current platform.