removeMessenger method

void removeMessenger(
  1. String methodName
)

移除消息处理器

Implementation

void removeMessenger(String methodName) {
  if (methodName.isNotEmpty) {
    _messengers.remove(methodName);
  }
}