Capabilities class

Adds and removes POSIX capabilities from running containers.

Constructors

Capabilities({List<String>? add, List<String>? drop})
Default constructor.
const
Capabilities.fromJson(Map<String, dynamic> json)
Creates a Capabilities from JSON data.
factory

Properties

add List<String>?
Added capabilities.
final
drop List<String>?
Removed capabilities.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a Capabilities instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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