Add graphql enum

This commit is contained in:
Ashita Prasad
2025-01-11 12:36:01 +05:30
parent 1aad26f22d
commit a84af15f0d

View File

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