fileGet method
void
fileGet(
- String innerPath, {
- bool required = true,
- String format = 'text',
- int timeout = 300,
- MessageCallback? callback,
Implementation
void fileGet(
String innerPath, {
bool required = true,
String format = 'text',
int timeout = 300,
MessageCallback? callback,
}) {
ZeroNet.instance.cmd(
ZeroNetCmd.fileGet,
params: {
'inner_path': innerPath,
'required': required,
'format': format,
'timeout': timeout,
},
callback: callback ?? onMessage,
);
}