update method

Token update(
  1. TokenUpdateFn fn
)

Implementation

Token update(TokenUpdateFn fn) {
  str = fn(str, metadata);
  return this;
}