2024-11-11 19:28:44 +08:00

16 lines
388 B
Dart

import '../proto/proto.dart';
class Options {
String? uid, token;
String? addr; // connect address IP:PORT
int protoVersion = 0x04; // protocol version
int deviceFlag = 0;
bool debug = true;
Function(Function(String addr) complete)?
getAddr; // async get connect address
Proto proto = Proto();
Options();
Options.newDefault(this.uid, this.token, {this.addr});
}