mirror of
https://github.com/foss42/apidash.git
synced 2025-05-28 12:18:06 +08:00
Add APIType.rest
This commit is contained in:
@ -24,7 +24,7 @@ class RequestEditorTopBar extends ConsumerWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
DropdownButtonAPIType(
|
||||
apiType: APIType.http,
|
||||
apiType: APIType.rest,
|
||||
onChanged: (apiType) {},
|
||||
),
|
||||
kHSpacer10,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import 'dart:convert';
|
||||
|
||||
enum APIType {
|
||||
http("HTTP");
|
||||
rest("HTTP");
|
||||
|
||||
const APIType(this.label);
|
||||
final String label;
|
||||
|
Reference in New Issue
Block a user