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(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
DropdownButtonAPIType(
|
DropdownButtonAPIType(
|
||||||
apiType: APIType.http,
|
apiType: APIType.rest,
|
||||||
onChanged: (apiType) {},
|
onChanged: (apiType) {},
|
||||||
),
|
),
|
||||||
kHSpacer10,
|
kHSpacer10,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
enum APIType {
|
enum APIType {
|
||||||
http("HTTP");
|
rest("HTTP");
|
||||||
|
|
||||||
const APIType(this.label);
|
const APIType(this.label);
|
||||||
final String label;
|
final String label;
|
||||||
|
Reference in New Issue
Block a user