getOptions static method
Implementation
static Future<List<LocalServerClientConfigItem>?> getOptions() async {
List? res = await _getJson<List>(_optionKey);
if (res == null) {
return null;
}
List<Map<String, dynamic>> decode =
res.cast<Map<String, dynamic>>().toList();
var optionList =
decode.map((e) => LocalServerClientConfigItem.fromJson(e)).toList();
return optionList;
}