getEntry_JSON function

String? getEntry_JSON(
  1. double index
)

Implementation

String? getEntry_JSON(double index) {
  if (prefs.getString("userEntry_EphemeralData$index") != null) {
    Map<String, dynamic> jsonData =
        jsonDecode(prefs.getString("userEntry_EphemeralData$index")!);
    return jsonData.toString();
  }
  return null;
}