NetInfo class
- Inheritance
-
- Object
- Dispatcher
- NetInfo
- Implemented types
- Annotations
-
- @JS()
Constructors
- NetInfo()
-
factory
Properties
- callbacks ↔ CallbackRegistry
-
getter/setter pairinherited
- failThrough ↔ Function
-
getter/setter pairinherited
-
global_callbacks
↔ List<
Function> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- online ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
String eventName, Function callback, [dynamic context]) → dynamic -
inherited
-
bind_global(
Function callback) → dynamic -
inherited
-
emit(
String eventName, [dynamic data, Metadata metadata]) → Dispatcher -
inherited
-
isOnline(
) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unbind(
[String eventName, Function callback, dynamic context]) → dynamic -
inherited
-
unbind_all(
) → dynamic -
inherited
-
unbind_global(
[Function callback]) → dynamic -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited