decode static method

dynamic decode(
  1. String json
)

Decodes a JSON string back to a structured object.

json is the JSON string to deserialize.

Returns the decoded object (typically Map or List).

Implementation

static dynamic decode(String json) {
  return coder!.decode(json);
}