class Pair { Pair({ required this.first, required this.second, }); T first; R second; }