getEditionTypes function

Future<List<String>> getEditionTypes()

Lists all types of editions

Implementation

Future<List<String>> getEditionTypes() async {
  final res = await get('/edition/type');
  return res['data'] as List<String>;
}