getKey method

ByteBuffer? getKey(
  1. String name
)

Returns a ByteBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data.

See PushSubscriptionKeys for key names.

Implementation

ByteBuffer? getKey(String name) => _callMethod(_delegate, 'getKey', [name]);