feat(app): register native Settings on the shared live session
This commit is contained in:
@@ -39,6 +39,9 @@ class PipelinesClient implements ApiGateway {
|
||||
Stream<ConnectionState> get states => _states.stream;
|
||||
ConnectionState get state => _state;
|
||||
|
||||
/// Last validated endpoint, including changes made through native Settings.
|
||||
Uri? get endpoint => _endpoint;
|
||||
|
||||
Future<void> connect(Uri uri) async {
|
||||
if (_disposed) throw StateError('Client has been disposed');
|
||||
final endpoint = ServerUrl.validate(uri.toString());
|
||||
|
||||
Reference in New Issue
Block a user