MessagePredicate.of constructor

MessagePredicate.of(
  1. MessagePredicate other
)

Implementation

MessagePredicate.of(MessagePredicate 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);