transfer method
Call associated WireListener with data.
Implementation
Future<dynamic> transfer(dynamic payload) async {
if (_listener == null) throw Exception(ERROR__LISTENER_IS_NULL);
// Call a listener in this Wire only in case data type match it's listener type.
final isFilterByPayloadType = payload is T || payload == null;
// print('> Wire -> transfer(${T}): filterByPayloadType = ${filterByPayloadType}');
if (isFilterByPayloadType) return _listener!(payload as T?, _id!);
}