isMyMessage method Null safety

bool isMyMessage(
  1. dynamic message
)

Implementation

bool isMyMessage(dynamic message) {
  // TODO:
  return target == message.target;
}