Add APIType.rest

This commit is contained in:
Ashita Prasad
2024-12-10 05:00:20 +05:30
parent 04d6bb5d1f
commit d15239fa71
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class RequestEditorTopBar extends ConsumerWidget {
child: Row(
children: [
DropdownButtonAPIType(
apiType: APIType.http,
apiType: APIType.rest,
onChanged: (apiType) {},
),
kHSpacer10,

View File

@ -1,7 +1,7 @@
import 'dart:convert';
enum APIType {
http("HTTP");
rest("HTTP");
const APIType(this.label);
final String label;