import 'package:pip_services3_commons/pip_services3_commons.dart';
class MyComponentB {
// ...
}
class MyComponentA implements IConfigurable, IReferenceable, IOpenable {
String _param1 = 'ABC';
int _param2 = 123;
bool _open = false;
String? _status;
MyComponentB? _anotherComponent;
String? dummyVariable;
// ...
@override
Future close(String? correlationId) async {
_open = false;
_status = 'Closed';
print('MyComponentA has been closed.');
}
}