Encodes this value to its wire object.
Map<String, Object?> toJson() => _$TextCommandInputToJson(this);