getObject method
Implementation
Future<Object?> getObject(String key) async {
String? value = await storage.getKV('${customKVKey}_$key');
if (value != null) {
Object data = await compute(
jsonDecode as FutureOr<Object> Function(dynamic), value);
return data;
}
return null;
}