IpfsConfigCommand class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- profile → IpfsProfileSubcommand
-
Apply profiles to config.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
edit(
) → Future< Map< String, dynamic> > -
Open the config file for editing in $EDITOR.
/api/v0/config/edit
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace(
{required String path}) → Future< Map< String, dynamic> > - Replace the config with
-
self(
{required String key, String? value, bool? setBool, bool? json}) → Future< Map< String, dynamic> > -
Get and set IPFS config values.
/api/v0/config
-
show(
) → Future< Map< String, dynamic> > -
Output config file contents.
/api/v0/config/show
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited