stableEncode method

  1. @override
Uint8List stableEncode(
  1. Object message
)

Encodes the given message with stable field ordering.

Implementation

@override
Uint8List stableEncode(Object message) {
  // There is no way to do a deterministic encoding.
  //
  // The default encoding does order by tag numners but map keys are
  // not deterministic.
  return encode(message);
}