TermPair constructor Null safety
Factory constructor that instantiates a TermPair instance:
Implementation
factory TermPair(Term term1, Term term2) {
assert(term1.isNotEmpty && term2.isNotEmpty);
return TermPair._([term1, term2]);
}
Factory constructor that instantiates a TermPair instance:
factory TermPair(Term term1, Term term2) {
assert(term1.isNotEmpty && term2.isNotEmpty);
return TermPair._([term1, term2]);
}