toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  var size = _preferences.getKeys().length;

  return {
    'Table_Name': _tableName ?? "SharedPreferences",
    "TableSize": size,
    "allKey": _preferences.getKeys()
  };
}