diff --git a/lib/core/services/poll_service/poll_model.dart b/lib/core/services/poll_service/poll_model.dart index e2d4940..fba34c7 100644 --- a/lib/core/services/poll_service/poll_model.dart +++ b/lib/core/services/poll_service/poll_model.dart @@ -8,7 +8,6 @@ class PollModel { final String permlink; final String parentPermlink; final String parentAuthor; - final String? image; final double protocolVersion; final String question; final String preferredInterpretation; @@ -29,7 +28,6 @@ class PollModel { required this.permlink, required this.parentPermlink, required this.parentAuthor, - this.image, required this.protocolVersion, required this.question, required this.preferredInterpretation, @@ -55,7 +53,6 @@ class PollModel { permlink: json['permlink'], parentPermlink: json['parent_permlink'], parentAuthor: json['parent_author'], - image: json['image'], protocolVersion: json['protocol_version'].toDouble(), question: json['question'], preferredInterpretation: json['preferred_interpretation'], @@ -83,7 +80,6 @@ class PollModel { 'permlink': permlink, 'parent_permlink': parentPermlink, 'parent_author': parentAuthor, - 'image': image, 'protocol_version': protocolVersion, 'question': question, 'preferred_interpretation': preferredInterpretation, diff --git a/pubspec.yaml b/pubspec.yaml index ac6179a..034c7ed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+19 +version: 1.0.0+20 environment: sdk: '>=3.3.2 <4.0.0'