shouldSendToThisPlatform method

bool shouldSendToThisPlatform(
  1. List<Type>? allowedTypes
)

Implementation

bool shouldSendToThisPlatform(List<Type>? allowedTypes) {
  if (allowedTypes == null || allowedTypes.isEmpty) return false;
  return allowedTypes.contains(this.runtimeType);
}