11 lines
312 B
Dart
11 lines
312 B
Dart
class AppRoutes {
|
|
static const home = '/';
|
|
static const fileShare = '/f/:nevent/:encodedPrivateKey';
|
|
|
|
static String fileShareRoute(String nevent, String encodedPrivateKey) {
|
|
return fileShare
|
|
.replaceFirst(':nevent', nevent)
|
|
.replaceFirst(':encodedPrivateKey', encodedPrivateKey);
|
|
}
|
|
}
|