Skip to content

Commit

Permalink
Merge pull request #8 from ecency/nt/poll-parser-fix
Browse files Browse the repository at this point in the history
Nt/poll parser fix
  • Loading branch information
feruzm authored Aug 22, 2024
2 parents f69925d + 969f287 commit 9719b42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions lib/core/services/poll_service/poll_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand All @@ -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'],
Expand Down Expand Up @@ -83,7 +80,6 @@ class PollModel {
'permlink': permlink,
'parent_permlink': parentPermlink,
'parent_author': parentAuthor,
'image': image,
'protocol_version': protocolVersion,
'question': question,
'preferred_interpretation': preferredInterpretation,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9719b42

Please sign in to comment.