NativeCursor.fromId constructor

  1. @visibleForTesting
NativeCursor.fromId(
  1. String id
)

Creates native cursor from an existing ID.

Implementation

@visibleForTesting
NativeCursor.fromId(String id)
    : _methodChannel = MethodChannel(
        '$_channelPrefix/Cursor/$id',
        _pluginMethodCodec,
      ),
      super.fromId(id);