tuple static method
converts dynamic object
to a tuple MapEntry<String, dynamic>
Implementation
static MapEntry<String, dynamic> tuple(dynamic object) {
if (!isTuple(object)) {
throw ArgumentError("$object is not a tuple");
}
return object.entries.first;
}