MessagePredicate.of constructor

MessagePredicate.of(
  1. MessagePredicate other
)

Implementation

MessagePredicate.of(MessagePredicate other)
    : custom = (other.custom != null
          ? Map<String, CustomFieldPredicate>.of(other.custom!)
          : null),
      origin = (other.origin != null
          ? FieldPredicate<MessageOrigin>.of(other.origin!)
          : null),
      sender =
          (other.sender != null ? SenderPredicate.of(other.sender!) : null),
      type = (other.type != null
          ? FieldPredicate<MessageType>.of(other.type!)
          : null);