findMixin function

PbMixin? findMixin(
  1. String name
)

Finds name in the exported mixins.

Implementation

PbMixin? findMixin(String name) {
  const exportedMixins = {
    'PbMapMixin': _pbMapMixin,
    'PbEventMixin': _pbEventMixin,
  };
  return exportedMixins[name];
}