RemoteConfig.fromJson constructor

RemoteConfig.fromJson(
  1. JsonMap json
)

Implementation

factory RemoteConfig.fromJson(JsonMap json) {
  return RemoteConfig(
    ipAddress: json.value<String>('ip_address'),
    port: json.value<int>('port'),
    rpcPassword: json.value<String>('rpc_password'),
    https: json.value<bool>('https'),
  );
}