PrivAdbWirelessDebuggingControlStatus class abstract

Capability snapshot for managing Wireless Debugging.

Available extensions
Annotations
  • @freezed

Constructors

PrivAdbWirelessDebuggingControlStatus({@Default.new(false) bool supported, @Default.new(false) bool permissionDeclared, @Default.new(false) bool permissionGranted, @Default.new(false) bool wirelessDebuggingEnabled, @Default.new(false) bool canManage, String? failureMessage})
const
factory
PrivAdbWirelessDebuggingControlStatus.fromMap(Map map)
factory

Properties

canManage → bool
Whether the runtime can toggle Wireless Debugging on this device.
no setterinherited
copyWith → $PrivAdbWirelessDebuggingControlStatusCopyWith<PrivAdbWirelessDebuggingControlStatus>
Create a copy of PrivAdbWirelessDebuggingControlStatus with the given fields replaced by the non-null parameter values.
no setterinherited
failureMessage → String?
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
permissionDeclared → bool
Whether WRITE_SECURE_SETTINGS is declared in the manifest.
no setterinherited
permissionGranted → bool
Whether WRITE_SECURE_SETTINGS has actually been granted.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supported → bool
no setterinherited
wirelessDebuggingEnabled → bool
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_PrivAdbWirelessDebuggingControlStatus value)) → TResult

Available on PrivAdbWirelessDebuggingControlStatus, provided by the PrivAdbWirelessDebuggingControlStatusPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_PrivAdbWirelessDebuggingControlStatus value)?) → TResult?

Available on PrivAdbWirelessDebuggingControlStatus, provided by the PrivAdbWirelessDebuggingControlStatusPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_PrivAdbWirelessDebuggingControlStatus value)?, {required TResult orElse()}) → TResult

Available on PrivAdbWirelessDebuggingControlStatus, provided by the PrivAdbWirelessDebuggingControlStatusPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(bool supported, bool permissionDeclared, bool permissionGranted, bool wirelessDebuggingEnabled, bool canManage, String? failureMessage)?, {required TResult orElse()}) → TResult

Available on PrivAdbWirelessDebuggingControlStatus, provided by the PrivAdbWirelessDebuggingControlStatusPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(bool supported, bool permissionDeclared, bool permissionGranted, bool wirelessDebuggingEnabled, bool canManage, String? failureMessage)) → TResult

Available on PrivAdbWirelessDebuggingControlStatus, provided by the PrivAdbWirelessDebuggingControlStatusPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(bool supported, bool permissionDeclared, bool permissionGranted, bool wirelessDebuggingEnabled, bool canManage, String? failureMessage)?) → TResult?

Available on PrivAdbWirelessDebuggingControlStatus, provided by the PrivAdbWirelessDebuggingControlStatusPatterns extension

A variant of when that fallback to returning null

Operators

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