set static method

void set(
  1. ValueEncoder encoder
)

Sets the singleton instance to the given encoder.

Implementation

static void set(ValueEncoder encoder) {
  _instance = encoder;
}