Skip to content

Commit d847b56

Browse files
SDK regenerated by CI server [ci skip]
1 parent 18e624a commit d847b56

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/src/models/form_field.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ library aspose_words_cloud;
3030
import '../../aspose_words_cloud.dart';
3131

3232
/// FromField.
33-
abstract class FormField extends NodeLink {
33+
class FormField extends NodeLink {
3434
/// Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
3535
bool? _calculateOnExit;
3636

lib/src/models/form_field_response.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ class FormFieldResponse extends WordsResponse {
5252
}
5353

5454
if (json.containsKey('FormField')) {
55-
throw ApiException(400, 'Cannot deserialize abstract data model FormField.');
55+
formField = FormField();
56+
formField!.deserialize(json['FormField'] as Map<String, dynamic>);
5657
} else {
5758
formField = null;
5859
}

0 commit comments

Comments
 (0)