SimpleMessagePredicate.of constructor

SimpleMessagePredicate.of(
  1. SimpleMessagePredicate other
)

Implementation

SimpleMessagePredicate.of(SimpleMessagePredicate other)
  : custom = (other.custom != null ? Map.of(other.custom!) : null),
    origin = (other.origin != null ? FieldPredicate.of(other.origin!) : null),
    sender = (other.sender != null
        ? SenderPredicate.of(other.sender!)
        : null),
    type = (other.type != null ? FieldPredicate.of(other.type!) : null);