replace method

$V? replace(
  1. $K? object,
  2. $V? object1
)

from: public V replace(K object, V object1) The returned object must be released after use, by calling the release method.

Implementation

$V? replace(
  $K? object,
  $V? object1,
) {
  final _$$selfRef = reference;
  final _$object = object?.reference ?? jni$_.jNullReference;
  final _$object1 = object1?.reference ?? jni$_.jNullReference;
  return _replace(_$$selfRef.pointer, _id_replace.pointer, _$object.pointer,
          _$object1.pointer)
      .object<$V?>();
}