decode static method

dynamic decode(
  1. String str
)

Decodes a string using the instance's decodeJson method.

Returns the decoded value.

Implementation

static dynamic decode(String str) {
  return instance.decodeJson(str);
}