make vars final

This commit is contained in:
Josh Babb 2023-05-24 13:12:54 -05:00
parent 20aba661af
commit 1e11fdd6fe

View file

@ -12,10 +12,10 @@ class JsonRPC {
this.useSSL = false, this.useSSL = false,
this.connectionTimeout = const Duration(seconds: 60), this.connectionTimeout = const Duration(seconds: 60),
}); });
bool useSSL; final bool useSSL;
String host; final String host;
int port; final int port;
Duration connectionTimeout; final Duration connectionTimeout;
Future<dynamic> request(String jsonRpcRequest) async { Future<dynamic> request(String jsonRpcRequest) async {
Socket? socket; Socket? socket;