serialize method

  1. @override
String serialize({
  1. HashedCloner? source,
  2. bool short = false,
})
override

Serializes the current builder configuration or a HashedCloner instance.

If short is true, omits the prefix. If source is provided, serializes its configuration.

Implementation

@override
String serialize({HashedCloner? source, bool short = false}) =>
    serializeBaseFlag(
      doTypedClone: source?.doTypedClone ?? _typedClone,
      prefix: short ? null : _sName,
    );