PictureCallback constructor

PictureCallback(
  1. DataCallback onPictureTaken
)

Construct a PictureCallback.

Implementation

PictureCallback(this.onPictureTaken) {
  ChannelRegistrar.instance.implementations.channelDataCallback.$$create(
    onPictureTaken,
    $owner: false,
  );
  _channel.$create$(this, $owner: true, onPictureTaken: onPictureTaken);
}