cstEncode method

  1. @internal
PlatformPointer cstEncode(
  1. {bool? move}
)

This is only intended to be used by automatically generated code, instead of developers.

Implementation

@internal
PlatformPointer cstEncode({bool? move}) {
  assert(move == null || _move == null,
      'Cannot specify move semantics in two places');
  final effectiveMoveMode = move ?? _move ?? false;

  final target = effectiveMoveMode ? _arc : _arc.clone();
  return target.intoRaw();
}