PeerOptions class
Constructors
-
PeerOptions({void logFunction(LogLevel level, dynamic message)?, String? host = PeerConfig.CLOUD_HOST, int? port = PeerConfig.CLOUD_PORT, LogLevel? debug = LogLevel.Disabled, String? path = '/', String? key = PeerConfig.DEFAULT_KEY, String? token, Map<
String, dynamic> ? config = PeerConfig.defaultConfig, bool secure = true, int? pingInterval})
Properties
-
config
↔ Map<
String, dynamic> ? -
getter/setter pair
- debug ↔ LogLevel?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String?
-
getter/setter pair
- key ↔ String?
-
getter/setter pair
- logFunction ↔ (void Function(LogLevel level, dynamic message)?)
-
getter/setter pair
- path ↔ String?
-
getter/setter pair
- pingInterval ↔ int?
-
getter/setter pair
- port ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secure ↔ bool
-
getter/setter pair
- token ↔ String?
-
getter/setter pair
Methods
-
merge(
PeerOptions options) → PeerOptions -
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