decode static method

Map<String, dynamic> decode(
  1. String json
)

Decodes a JSON string to a map.

Implementation

static Map<String, dynamic> decode(String json) {
  return jsonDecode(json) as Map<String, dynamic>;
}