routeUriForId method
Implementation
String? routeUriForId(key) {
if (key is MKey) {
key = key.mxid;
} else if (key is RecordKey) {
key = key.mxid;
} else {
key = "$key";
}
return routeUri({"id": key});
}
String? routeUriForId(key) {
if (key is MKey) {
key = key.mxid;
} else if (key is RecordKey) {
key = key.mxid;
} else {
key = "$key";
}
return routeUri({"id": key});
}