get<T> method Null safety

Future<T?> get<T>(
  1. String key
)

Get the value for a key from storage namespace

Implementation

Future<T?> get<T>(String key) async {
  await ready;
  return box.read(key);
}