setInt method

  1. @override
Future<bool> setInt(
  1. String key,
  2. int? value
)
override

Implementation

@override
Future<bool> setInt(String key, int? value) async {
  final map = await read();
  map[key] = value;
  return await write(WriteData(map: map, updatedKey: key));
}