modelJson method
Everything the connection knows, as the raw wire map, for a host that wants the escape hatch rather than the typed model.
Implementation
Map<String, dynamic> modelJson() {
_alive();
final decoded = _takeString(_bindings.modelJson(_handle));
if (decoded == null) {
return const {};
}
final parsed = jsonDecode(decoded);
return parsed is Map<String, dynamic> ? parsed : const {};
}