putToJsonFn<T> static method

void putToJsonFn<T>(
  1. ToJsonFn fn, [
  2. Type? t
])

Implementation

static void putToJsonFn<T>(ToJsonFn fn, [Type? t]) {
  _toJsonFns[t ?? T] = fn;
}