first method

KeyValuePair<K, V> first()

Returns the first key/value pair in the collection, or null if there is none. @return {KeyValuePair.<K,V>} This returns null if there are no items in the collection. @since 1.4

Implementation

_i3.KeyValuePair<K, V> first() => _i4.callMethod(
      this,
      'first',
      [],
    );