AppleDiscoverServicesOptions class

Constructors

AppleDiscoverServicesOptions({int? timeoutMillis})

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeoutMillis ↔ int?
How long, in milliseconds, the native discovery may take before it fails. iOS and macOS bound discovery themselves, so that a discovery that never completes cannot hold back later calls; 10 seconds when not set. Other platforms are bounded by the timeout of discoverServices alone.
getter/setter pair

Methods

encode() → Object
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.
override

Static Methods

decode(Object result) → AppleDiscoverServicesOptions