xxxxxxxxxx
Map<String, dynamic> user = jsonDecode(jsonString);
print('Howdy, ${user['name']}!');
print('We sent the verification link to ${user['email']}.');
xxxxxxxxxx
import 'dart:convert';
void main() {
String jsonString = '{"name":"John","age":30,"city":"New York"}';
Map<String, dynamic> jsonMap = json.decode(jsonString);
print("Name: ${jsonMap['name']}");
print("Age: ${jsonMap['age']}");
print("City: ${jsonMap['city']}");
}