getCurrentModel method
Gets the current model for this session.
Implementation
Future<String> getCurrentModel() async {
_ensureAlive();
final result = await _connection.sendRequest(
'session.model.getCurrent',
{'sessionId': sessionId},
const Duration(seconds: 5),
) as Map<String, dynamic>;
return result['modelId'] as String;
}