deputy method

  1. @override
CollectiveList<E> deputy({
  1. covariant TestCollective<dynamic, Collective>? test,
  2. covariant MapObject? mapObject,
})

Creates an Deputy from this CollectiveList with either test or map or both properties. The new CollectiveList

Implementation

@override
CollectiveList<E> deputy({covariant TestCollective? test, covariant MapObject? mapObject}) {
  return CollectiveListDeputy<E>._(_properties.bind as CollectiveList<E>, test: test, mapObject: mapObject);
}