import 'package:result_monad/result_monad.dart'; import '../../models/connection.dart'; import '../../models/exec_error.dart'; class IConnectionsRepo { bool addConnection(Connection connection) { throw UnimplementedError(); } bool addAllConnections(Iterable newConnections) { throw UnimplementedError(); } bool updateConnection(Connection connection) { throw UnimplementedError(); } Result getById(String id) { throw UnimplementedError(); } Result getByName(String name) { throw UnimplementedError(); } List getMyContacts() { throw UnimplementedError(); } List getKnownUsersByName(String name) { throw UnimplementedError(); } }