channel method

MethodChannel? channel(
  1. int? id
)

Accesses the MethodChannel associated to the passed id.

Implementation

MethodChannel? channel(int? id) {
  return _channels[id!];
}