getInt method Null safety

  1. @override
Future<int> getInt(
  1. String key,
  2. int defaultValue
)
override

Gets int for key.