close method
Closes component and frees used resources.
correlationId
(optional) transaction id to trace execution through call chain. Return Future that receives null if no errors occured. Throws error
Implementation
@override
Future close(String? correlationId) async {
if (_client != null) {
await _client!.get_connection().close();
_client = null;
}
}