reactionHandler property

Future Function(Comment, CommentReaction)? get reactionHandler

Optional reaction handler for creating and deleting reactions on a {@link Comment}.

Implementation

_i2.Future<_i2.dynamic> Function(
  _i3.Comment,
  _i3.CommentReaction,
)? get reactionHandler => (
      _i3.Comment p0,
      _i3.CommentReaction p1,
    ) =>
        _i5.promiseToFuture(_i5.callMethod(
          _i5.getProperty(
            this,
            'reactionHandler',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        ));
set reactionHandler (Future value(Comment, CommentReaction)?)

Implementation

set reactionHandler(
    _i2.Future<_i2.dynamic> Function(
      _i3.Comment,
      _i3.CommentReaction,
    )? value) {
  _i5.setProperty(
    this,
    'reactionHandler',
    value == null ? _i6.undefined : _i5.allowInterop(value),
  );
}