ComputerUseInput.fromJson constructor
Implementation
factory ComputerUseInput.fromJson(Map<String, dynamic> json) =>
ComputerUseInput(
action: json['action'] as String,
coordinates: (json['coordinates'] as List?)?.cast<int>(),
text: json['text'] as String?,
key: json['key'] as String?,
scrollDirection: json['scroll_direction'] as String?,
scrollAmount: json['scroll_amount'] as int?,
);