operator [] method

  1. @override
Object? operator [](
  1. int key
)
override

Returns a value at key, the result can be of any object or null.

FormatException is thrown if an underlying value is unavailable.

Implementation

@override
Object? operator [](int key) => _checkAt(key);