mirror of
https://github.com/appwrite/appwrite
synced 2026-05-19 06:58:21 +00:00
15 lines
330 B
Dart
15 lines
330 B
Dart
enum HttpMethod { get, post, put, delete, patch }
|
|
|
|
extension HttpMethodString on HttpMethod {
|
|
String name() {
|
|
return this.toString().split('.').last.toUpperCase();
|
|
}
|
|
}
|
|
|
|
enum OrderType { asc, desc }
|
|
|
|
extension OrderTypeString on OrderType {
|
|
String name() {
|
|
return this.toString().split('.').last.toUpperCase();
|
|
}
|
|
}
|