setInt abstract method Null safety

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

Sets int for key.