Skip to content

Commit

Permalink
fix: source in TransactionResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
Ez3kiel-dev committed Mar 26, 2024
1 parent 3e852a9 commit b257bc8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TransactionResponse with _$TransactionResponse {
required int version,
required bool inMempool,
required int nonce,
required String owner,
required String source,
required String signature,
}) = _TransactionResponse;

Expand All @@ -30,7 +30,7 @@ class TransactionResponse with _$TransactionResponse {
'version': final int version,
'in_mempool': final bool inMempool,
'nonce': final int nonce,
'owner': final String owner,
'source': final String source,
'signature': final String signature,
}) {
return TransactionResponse(
Expand All @@ -42,7 +42,7 @@ class TransactionResponse with _$TransactionResponse {
version: version,
inMempool: inMempool,
nonce: nonce,
owner: owner,
source: source,
signature: signature,
);
} else if (json
Expand All @@ -54,7 +54,7 @@ class TransactionResponse with _$TransactionResponse {
'version': final int version,
'in_mempool': final bool inMempool,
'nonce': final int nonce,
'owner': final String owner,
'source': final String source,
'signature': final String signature,
}) {
return TransactionResponse(
Expand All @@ -66,7 +66,7 @@ class TransactionResponse with _$TransactionResponse {
version: version,
inMempool: inMempool,
nonce: nonce,
owner: owner,
source: source,
signature: signature,
);
} else if (json
Expand All @@ -78,7 +78,7 @@ class TransactionResponse with _$TransactionResponse {
'version': final int version,
'in_mempool': final bool inMempool,
'nonce': final int nonce,
'owner': final String owner,
'source': final String source,
'signature': final String signature,
}) {
return TransactionResponse(
Expand All @@ -90,7 +90,7 @@ class TransactionResponse with _$TransactionResponse {
version: version,
inMempool: inMempool,
nonce: nonce,
owner: owner,
source: source,
signature: signature,
);
} else if (json
Expand All @@ -104,7 +104,7 @@ class TransactionResponse with _$TransactionResponse {
'version': final int version,
'in_mempool': final bool inMempool,
'nonce': final int nonce,
'owner': final String owner,
'source': final String source,
'signature': final String signature,
}) {
return TransactionResponse(
Expand All @@ -116,7 +116,7 @@ class TransactionResponse with _$TransactionResponse {
version: version,
inMempool: inMempool,
nonce: nonce,
owner: owner,
source: source,
signature: signature,
);
} else {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b257bc8

Please sign in to comment.