convertForce<T> method
Implementation
Future<T> convertForce<T>(T Function(Map<String, dynamic>) convertor) async {
final data = await get();
if (data != null && data.isNotEmpty) {
return convertor(data);
}
throw Exception('data is null');
}