diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a06599..750d122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [1.1.7] - 29.Jun.2021. +- update support for horizon > 2.5.1 (representation of "..._muxed_id" field values changed to string) + ## [1.1.6] - 06.Jun.2021. - extend asset response for horizon 2.2.0 - add new endpont to fetch operations for claimable balances diff --git a/README.md b/README.md index e28dca8..0ccd22d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The Soneso open source Stellar SDK for Flutter is build with Dart and provides A 1. Add the dependency to your pubspec.yaml file: ``` dependencies: - stellar_flutter_sdk: ^1.1.6 + stellar_flutter_sdk: ^1.1.7 ``` 2. Install it (command line or IDE): ``` diff --git a/documentation/sdk_api_doc.zip b/documentation/sdk_api_doc.zip index a8ff0d9..92111df 100644 Binary files a/documentation/sdk_api_doc.zip and b/documentation/sdk_api_doc.zip differ diff --git a/lib/src/responses/effects/account_effects_responses.dart b/lib/src/responses/effects/account_effects_responses.dart index da2978e..78461e0 100644 --- a/lib/src/responses/effects/account_effects_responses.dart +++ b/lib/src/responses/effects/account_effects_responses.dart @@ -22,7 +22,7 @@ class AccountCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -45,7 +45,7 @@ class AccountRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -83,10 +83,10 @@ class AccountCreditedEffectResponse extends EffectResponse { ..id = json['id'] as String ..account = json['account'] == null ? null : json['account'] ..accountMuxed = - json['account_muxed'] == null ? null : json['account_muxed'] + json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -124,10 +124,10 @@ class AccountDebitedEffectResponse extends EffectResponse { ..id = json['id'] as String ..account = json['account'] == null ? null : json['account'] ..accountMuxed = - json['account_muxed'] == null ? null : json['account_muxed'] + json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -156,10 +156,10 @@ class AccountThresholdsUpdatedEffectResponse extends EffectResponse { ..id = json['id'] as String ..account = json['account'] == null ? null : json['account'] ..accountMuxed = - json['account_muxed'] == null ? null : json['account_muxed'] + json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -182,10 +182,10 @@ class AccountHomeDomainUpdatedEffectResponse extends EffectResponse { ..id = json['id'] as String ..account = json['account'] == null ? null : json['account'] ..accountMuxed = - json['account_muxed'] == null ? null : json['account_muxed'] + json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -214,10 +214,10 @@ class AccountFlagsUpdatedEffectResponse extends EffectResponse { ..id = json['id'] as String ..account = json['account'] == null ? null : json['account'] ..accountMuxed = - json['account_muxed'] == null ? null : json['account_muxed'] + json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -238,10 +238,10 @@ class AccountInflationDestinationUpdatedEffectResponse extends EffectResponse { ..id = json['id'] as String ..account = json['account'] == null ? null : json['account'] ..accountMuxed = - json['account_muxed'] == null ? null : json['account_muxed'] + json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/claimable_balances_effects.dart b/lib/src/responses/effects/claimable_balances_effects.dart index e2ef590..5e761ba 100644 --- a/lib/src/responses/effects/claimable_balances_effects.dart +++ b/lib/src/responses/effects/claimable_balances_effects.dart @@ -30,7 +30,7 @@ class ClaimableBalanceCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -65,7 +65,7 @@ class ClaimableBalanceClaimantCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -97,7 +97,7 @@ class ClaimableBalanceClaimedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -121,7 +121,7 @@ class ClaimableBalanceClawedBackEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/data_effects_responses.dart b/lib/src/responses/effects/data_effects_responses.dart index 5f04f54..5499a9b 100644 --- a/lib/src/responses/effects/data_effects_responses.dart +++ b/lib/src/responses/effects/data_effects_responses.dart @@ -22,7 +22,7 @@ class DataCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -49,7 +49,7 @@ class DataUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -74,7 +74,7 @@ class DataRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/effect_responses.dart b/lib/src/responses/effects/effect_responses.dart index ae8fb2f..9c2747f 100644 --- a/lib/src/responses/effects/effect_responses.dart +++ b/lib/src/responses/effects/effect_responses.dart @@ -18,7 +18,7 @@ abstract class EffectResponse extends Response { String id; String account; String accountMuxed; - int accountMuxedId; + String accountMuxedId; String type; String createdAt; String pagingToken; diff --git a/lib/src/responses/effects/misc_effects_responses.dart b/lib/src/responses/effects/misc_effects_responses.dart index 26d7132..35c3195 100644 --- a/lib/src/responses/effects/misc_effects_responses.dart +++ b/lib/src/responses/effects/misc_effects_responses.dart @@ -20,7 +20,7 @@ class SequenceBumpedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -70,7 +70,7 @@ class TrustLineFlagsUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/signer_effects_responses.dart b/lib/src/responses/effects/signer_effects_responses.dart index 4ecab84..08501c5 100644 --- a/lib/src/responses/effects/signer_effects_responses.dart +++ b/lib/src/responses/effects/signer_effects_responses.dart @@ -29,7 +29,7 @@ class SignerCreatedEffectResponse extends SignerEffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -54,7 +54,7 @@ class SignerRemovedEffectResponse extends SignerEffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -79,7 +79,7 @@ class SignerUpdatedEffectResponse extends SignerEffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/sponsorship_effects_responses.dart b/lib/src/responses/effects/sponsorship_effects_responses.dart index 7f16046..7517ab3 100644 --- a/lib/src/responses/effects/sponsorship_effects_responses.dart +++ b/lib/src/responses/effects/sponsorship_effects_responses.dart @@ -20,7 +20,7 @@ class AccountSponsorshipCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -48,7 +48,7 @@ class AccountSponsorshipUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -73,7 +73,7 @@ class AccountSponsorshipRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -97,7 +97,7 @@ class TrustlineSponsorshipCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -126,7 +126,7 @@ class TrustlineSponsorshipUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -151,7 +151,7 @@ class TrustlineSponsorshipRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -177,7 +177,7 @@ class DataSponsorshipCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -208,7 +208,7 @@ class DataSponsorshipUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -234,7 +234,7 @@ class DataSponsorshipRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -259,7 +259,7 @@ class ClaimableBalanceSponsorshipCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -288,7 +288,7 @@ class ClaimableBalanceSponsorshipUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -313,7 +313,7 @@ class ClaimableBalanceSponsorshipRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -339,7 +339,7 @@ class SignerSponsorshipCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -370,7 +370,7 @@ class SignerSponsorshipUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -396,7 +396,7 @@ class SignerSponsorshipRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/trade_effects_responses.dart b/lib/src/responses/effects/trade_effects_responses.dart index abe12f2..768af80 100644 --- a/lib/src/responses/effects/trade_effects_responses.dart +++ b/lib/src/responses/effects/trade_effects_responses.dart @@ -20,7 +20,7 @@ class OfferCreatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -43,7 +43,7 @@ class OfferRemovedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -66,7 +66,7 @@ class OfferUpdatedEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -81,7 +81,7 @@ class OfferUpdatedEffectResponse extends EffectResponse { class TradeEffectResponse extends EffectResponse { String seller; String sellerMuxed; - int sellerMuxedId; + String sellerMuxedId; String offerId; String soldAmount; @@ -130,7 +130,7 @@ class TradeEffectResponse extends EffectResponse { json['seller_muxed'] == null ? null : json['seller_muxed'], json['seller_muxed_id'] == null ? null - : convertInt(json['seller_muxed_id']), + : json['seller_muxed_id'] as String, json['offer_id'] as String, json['sold_amount'] as String, json['sold_asset_type'] as String, @@ -146,7 +146,7 @@ class TradeEffectResponse extends EffectResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/effects/trustline_effects_responses.dart b/lib/src/responses/effects/trustline_effects_responses.dart index deb5c27..0fd9ec7 100644 --- a/lib/src/responses/effects/trustline_effects_responses.dart +++ b/lib/src/responses/effects/trustline_effects_responses.dart @@ -36,7 +36,7 @@ class TrustlineAuthorizedEffectResponse extends TrustlineAuthorizationResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -66,7 +66,7 @@ class TrustlineAuthorizedToMaintainLiabilitiesEffectResponse json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -96,7 +96,7 @@ class TrustlineDeauthorizedEffectResponse json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -145,7 +145,7 @@ class TrustlineCreatedEffectResponse extends TrustlineCUDResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -174,7 +174,7 @@ class TrustlineRemovedEffectResponse extends TrustlineCUDResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String @@ -203,7 +203,7 @@ class TrustlineUpdatedEffectResponse extends TrustlineCUDResponse { json['account_muxed'] == null ? null : json['account_muxed'] ..accountMuxedId = json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']) + : json['account_muxed_id'] as String ..type = json['type'] as String ..createdAt = json['created_at'] as String ..pagingToken = json['paging_token'] as String diff --git a/lib/src/responses/operations/account_merge_operation_response.dart b/lib/src/responses/operations/account_merge_operation_response.dart index cdeff22..790ffab 100644 --- a/lib/src/responses/operations/account_merge_operation_response.dart +++ b/lib/src/responses/operations/account_merge_operation_response.dart @@ -6,10 +6,10 @@ import 'operation_responses.dart'; class AccountMergeOperationResponse extends OperationResponse { String account; String accountMuxed; - int accountMuxedId; + String accountMuxedId; String into; String intoMuxed; - int intoMuxedId; + String intoMuxedId; AccountMergeOperationResponse(this.account, this.accountMuxed, this.accountMuxedId, this.into, this.intoMuxed, this.intoMuxedId); @@ -20,12 +20,12 @@ class AccountMergeOperationResponse extends OperationResponse { json['account_muxed'] == null ? null : json['account_muxed'], json['account_muxed_id'] == null ? null - : convertInt(json['account_muxed_id']), + : json['account_muxed_id'] as String, json['into'] == null ? null : json['into'], json['into_muxed'] == null ? null : json['into_muxed'], json['into_muxed_id'] == null ? null - : convertInt(json['into_muxed_id'])) + : json['into_muxed_id'] as String) ..id = int.parse(json['id'] as String) ..sourceAccount = json['source_account'] == null ? null : json['source_account'] @@ -34,7 +34,7 @@ class AccountMergeOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/allow_trust_operation_response.dart b/lib/src/responses/operations/allow_trust_operation_response.dart index 70b1c41..a40d546 100644 --- a/lib/src/responses/operations/allow_trust_operation_response.dart +++ b/lib/src/responses/operations/allow_trust_operation_response.dart @@ -9,7 +9,7 @@ class AllowTrustOperationResponse extends OperationResponse { String trustor; String trustee; String trusteeMuxed; - int trusteeMuxedId; + String trusteeMuxedId; String assetType; String assetCode; String assetIssuer; @@ -46,7 +46,7 @@ class AllowTrustOperationResponse extends OperationResponse { json['trustee_muxed'] == null ? null : json['trustee_muxed'], json['trustee_muxed_id'] == null ? null - : convertInt(json['trustee_muxed_id']), + : json['trustee_muxed_id'] as String, json['trustor'] == null ? null : json['trustor']) ..id = int.parse(json['id'] as String) ..sourceAccount = @@ -56,7 +56,7 @@ class AllowTrustOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/bump_sequence_operation_response.dart b/lib/src/responses/operations/bump_sequence_operation_response.dart index 02c0c11..4c1e3a0 100644 --- a/lib/src/responses/operations/bump_sequence_operation_response.dart +++ b/lib/src/responses/operations/bump_sequence_operation_response.dart @@ -18,7 +18,7 @@ class BumpSequenceOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/change_trust_operation_response.dart b/lib/src/responses/operations/change_trust_operation_response.dart index 7f6a33d..f079be7 100644 --- a/lib/src/responses/operations/change_trust_operation_response.dart +++ b/lib/src/responses/operations/change_trust_operation_response.dart @@ -8,7 +8,7 @@ import '../response.dart'; class ChangeTrustOperationResponse extends OperationResponse { String trustor; String trustorMuxed; - int trustorMuxedId; + String trustorMuxedId; String trustee; String assetType; String assetCode; @@ -39,7 +39,7 @@ class ChangeTrustOperationResponse extends OperationResponse { json['trustor_muxed'] == null ? null : json['trustor_muxed'], json['trustor_muxed_id'] == null ? null - : convertInt(json['trustor_muxed_id']), + : json['trustor_muxed_id'] as String, json['trustee'] == null ? null : json['trustee'], json['asset_type'] as String, json['asset_code'] as String, @@ -53,7 +53,7 @@ class ChangeTrustOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/claimable_balances_operations_responses.dart b/lib/src/responses/operations/claimable_balances_operations_responses.dart index 8f963c6..ae43338 100644 --- a/lib/src/responses/operations/claimable_balances_operations_responses.dart +++ b/lib/src/responses/operations/claimable_balances_operations_responses.dart @@ -35,7 +35,7 @@ class CreateClaimableBalanceOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String @@ -53,7 +53,7 @@ class ClaimClaimableBalanceOperationResponse extends OperationResponse { String balanceId; String claimantAccountId; String claimantMuxed; - int claimantMuxedId; + String claimantMuxedId; ClaimClaimableBalanceOperationResponse(this.balanceId, this.claimantAccountId, this.claimantMuxed, this.claimantMuxedId); @@ -66,7 +66,7 @@ class ClaimClaimableBalanceOperationResponse extends OperationResponse { json['claimant_muxed'] == null ? null : json['claimant_muxed'], json['claimant_muxed_id'] == null ? null - : convertInt(json['claimant_muxed_id'])) + : json['claimant_muxed_id'] as String) ..id = int.parse(json['id'] as String) ..sourceAccount = json['source_account'] == null ? null : json['source_account'] @@ -75,7 +75,7 @@ class ClaimClaimableBalanceOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/clawback_operations_responses.dart b/lib/src/responses/operations/clawback_operations_responses.dart index 85fff6d..e5e73c3 100644 --- a/lib/src/responses/operations/clawback_operations_responses.dart +++ b/lib/src/responses/operations/clawback_operations_responses.dart @@ -6,7 +6,7 @@ class ClawbackOperationResponse extends OperationResponse { String amount; String from; String fromMuxed; - int fromMuxedId; + String fromMuxedId; String assetType; String assetCode; String assetIssuer; @@ -21,7 +21,7 @@ class ClawbackOperationResponse extends OperationResponse { json['from_muxed'] == null ? null : json['from_muxed'], json['from_muxed_id'] == null ? null - : convertInt(json['from_muxed_id']), + : json['from_muxed_id'] as String, json['asset_type'] as String, json['asset_code'] as String, json['asset_issuer'] as String) @@ -33,7 +33,7 @@ class ClawbackOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String @@ -63,7 +63,7 @@ class ClawbackClaimableBalanceOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/create_account_operation_response.dart b/lib/src/responses/operations/create_account_operation_response.dart index 0b86601..95d470f 100644 --- a/lib/src/responses/operations/create_account_operation_response.dart +++ b/lib/src/responses/operations/create_account_operation_response.dart @@ -7,7 +7,7 @@ class CreateAccountOperationResponse extends OperationResponse { String account; String funder; String funderMuxed; - int funderMuxedId; + String funderMuxedId; String startingBalance; CreateAccountOperationResponse(this.funder, this.funderMuxed, @@ -19,7 +19,7 @@ class CreateAccountOperationResponse extends OperationResponse { json['funder_muxed'] == null ? null : json['funder_muxed'], json['funder_muxed_id'] == null ? null - : convertInt(json['funder_muxed_id']), + : json['funder_muxed_id'] as String, json['starting_balance'] as String, json['account'] == null ? null : json['account']) ..id = int.parse(json['id'] as String) @@ -30,7 +30,7 @@ class CreateAccountOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/create_passive_sell_offer_response.dart b/lib/src/responses/operations/create_passive_sell_offer_response.dart index 32c0270..a34a6c5 100644 --- a/lib/src/responses/operations/create_passive_sell_offer_response.dart +++ b/lib/src/responses/operations/create_passive_sell_offer_response.dart @@ -65,7 +65,7 @@ class CreatePassiveSellOfferOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/inflation_operation_response.dart b/lib/src/responses/operations/inflation_operation_response.dart index bb7212d..89f27d3 100644 --- a/lib/src/responses/operations/inflation_operation_response.dart +++ b/lib/src/responses/operations/inflation_operation_response.dart @@ -16,7 +16,7 @@ class InflationOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/manage_buy_offer_operation_response.dart b/lib/src/responses/operations/manage_buy_offer_operation_response.dart index 05f75a7..cbca818 100644 --- a/lib/src/responses/operations/manage_buy_offer_operation_response.dart +++ b/lib/src/responses/operations/manage_buy_offer_operation_response.dart @@ -64,7 +64,7 @@ class ManageBuyOfferOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/manage_data_operation_response.dart b/lib/src/responses/operations/manage_data_operation_response.dart index 973d9cd..2854dee 100644 --- a/lib/src/responses/operations/manage_data_operation_response.dart +++ b/lib/src/responses/operations/manage_data_operation_response.dart @@ -20,7 +20,7 @@ class ManageDataOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/manage_sell_offer_operation_response.dart b/lib/src/responses/operations/manage_sell_offer_operation_response.dart index 2afe5bf..4d4bed2 100644 --- a/lib/src/responses/operations/manage_sell_offer_operation_response.dart +++ b/lib/src/responses/operations/manage_sell_offer_operation_response.dart @@ -65,7 +65,7 @@ class ManageSellOfferOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/operation_responses.dart b/lib/src/responses/operations/operation_responses.dart index a99e5e6..88dad34 100644 --- a/lib/src/responses/operations/operation_responses.dart +++ b/lib/src/responses/operations/operation_responses.dart @@ -25,7 +25,7 @@ abstract class OperationResponse extends Response { int id; String sourceAccount; String sourceAccountMuxed; - int sourceAccountMuxedId; + String sourceAccountMuxedId; String pagingToken; String createdAt; String transactionHash; diff --git a/lib/src/responses/operations/path_payment_strict_receive_operation_response.dart b/lib/src/responses/operations/path_payment_strict_receive_operation_response.dart index 992a934..aa7a70b 100644 --- a/lib/src/responses/operations/path_payment_strict_receive_operation_response.dart +++ b/lib/src/responses/operations/path_payment_strict_receive_operation_response.dart @@ -13,9 +13,9 @@ class PathPaymentStrictReceiveOperationResponse extends OperationResponse { String to; String fromMuxed; - int fromMuxedId; + String fromMuxedId; String toMuxed; - int toMuxedId; + String toMuxedId; String assetType; String assetCode; @@ -70,10 +70,10 @@ class PathPaymentStrictReceiveOperationResponse extends OperationResponse { json['from_muxed'] == null ? null : json['from_muxed'], json['from_muxed_id'] == null ? null - : convertInt(json['from_muxed_id']), + : json['from_muxed_id'] as String, json['to'] == null ? null : json['to'], json['to_muxed'] == null ? null : json['to_muxed'], - json['to_muxed_id'] == null ? null : convertInt(json['to_muxed_id']), + json['to_muxed_id'] == null ? null : json['to_muxed_id'] as String, json['asset_type'] as String, json['asset_code'] as String, json['asset_issuer'] as String, @@ -93,7 +93,7 @@ class PathPaymentStrictReceiveOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/path_payment_strict_send_operation_response.dart b/lib/src/responses/operations/path_payment_strict_send_operation_response.dart index 1ed599f..82b22b6 100644 --- a/lib/src/responses/operations/path_payment_strict_send_operation_response.dart +++ b/lib/src/responses/operations/path_payment_strict_send_operation_response.dart @@ -13,9 +13,9 @@ class PathPaymentStrictSendOperationResponse extends OperationResponse { String to; String fromMuxed; - int fromMuxedId; + String fromMuxedId; String toMuxed; - int toMuxedId; + String toMuxedId; String assetType; String assetCode; @@ -70,10 +70,10 @@ class PathPaymentStrictSendOperationResponse extends OperationResponse { json['from_muxed'] == null ? null : json['from_muxed'], json['from_muxed_id'] == null ? null - : convertInt(json['from_muxed_id']), + : json['from_muxed_id'] as String, json['to'] == null ? null : json['to'], json['to_muxed'] == null ? null : json['to_muxed'], - json['to_muxed_id'] == null ? null : convertInt(json['to_muxed_id']), + json['to_muxed_id'] == null ? null : json['to_muxed_id'] as String, json['asset_type'] as String, json['asset_code'] as String, json['asset_issuer'] as String, @@ -93,7 +93,7 @@ class PathPaymentStrictSendOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/payment_operation_response.dart b/lib/src/responses/operations/payment_operation_response.dart index 102d881..e4b330c 100644 --- a/lib/src/responses/operations/payment_operation_response.dart +++ b/lib/src/responses/operations/payment_operation_response.dart @@ -14,9 +14,9 @@ class PaymentOperationResponse extends OperationResponse { KeyPair from; KeyPair to; String fromMuxed; - int fromMuxedId; + String fromMuxedId; String toMuxed; - int toMuxedId; + String toMuxedId; PaymentOperationResponse( this.amount, @@ -38,7 +38,8 @@ class PaymentOperationResponse extends OperationResponse { } } - factory PaymentOperationResponse.fromJson(Map json) => + factory PaymentOperationResponse.fromJson( + Map json) => new PaymentOperationResponse( json['amount'] as String, json['asset_type'] as String, @@ -50,12 +51,12 @@ class PaymentOperationResponse extends OperationResponse { json['from_muxed'] == null ? null : json['from_muxed'], json['from_muxed_id'] == null ? null - : convertInt(json['from_muxed_id']), + : json['from_muxed_id'] as String, json['to'] == null ? null : KeyPair.fromAccountId(json['to'] as String), json['to_muxed'] == null ? null : json['to_muxed'], - json['to_muxed_id'] == null ? null : convertInt(json['to_muxed_id'])) + json['to_muxed_id'] == null ? null : json['to_muxed_id'] as String) ..id = int.parse(json['id'] as String) ..sourceAccount = json['source_account'] == null ? null : json['source_account'] @@ -64,7 +65,7 @@ class PaymentOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/set_options_operation_response.dart b/lib/src/responses/operations/set_options_operation_response.dart index 208e1d6..87c8be1 100644 --- a/lib/src/responses/operations/set_options_operation_response.dart +++ b/lib/src/responses/operations/set_options_operation_response.dart @@ -53,7 +53,7 @@ class SetOptionsOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/set_trustline_flags_operation_response.dart b/lib/src/responses/operations/set_trustline_flags_operation_response.dart index 5c65841..6468e13 100644 --- a/lib/src/responses/operations/set_trustline_flags_operation_response.dart +++ b/lib/src/responses/operations/set_trustline_flags_operation_response.dart @@ -30,7 +30,7 @@ class SetTrustlineFlagsOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/operations/sponsorship_operations_responses.dart b/lib/src/responses/operations/sponsorship_operations_responses.dart index fa091fd..71daf38 100644 --- a/lib/src/responses/operations/sponsorship_operations_responses.dart +++ b/lib/src/responses/operations/sponsorship_operations_responses.dart @@ -20,7 +20,7 @@ class BeginSponsoringFutureReservesOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String @@ -37,7 +37,7 @@ class BeginSponsoringFutureReservesOperationResponse extends OperationResponse { class EndSponsoringFutureReservesOperationResponse extends OperationResponse { String beginSponsor; String beginSponsorMuxed; - int beginSponsorMuxedId; + String beginSponsorMuxedId; EndSponsoringFutureReservesOperationResponse( this.beginSponsor, this.beginSponsorMuxed, this.beginSponsorMuxedId); @@ -53,7 +53,7 @@ class EndSponsoringFutureReservesOperationResponse extends OperationResponse { : json['begin_sponsor_muxed'], json['begin_sponsor_muxed_id'] == null ? null - : convertInt(json['begin_sponsor_muxed_id'])) + : json['begin_sponsor_muxed_id'] as String) ..id = int.parse(json['id'] as String) ..sourceAccount = json['source_account'] == null ? null : json['source_account'] @@ -62,7 +62,7 @@ class EndSponsoringFutureReservesOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String @@ -130,7 +130,7 @@ class RevokeSponsorshipOperationResponse extends OperationResponse { : json['source_account_muxed'] ..sourceAccountMuxedId = json['source_account_muxed_id'] == null ? null - : convertInt(json['source_account_muxed_id']) + : json['source_account_muxed_id'] as String ..pagingToken = json['paging_token'] as String ..createdAt = json['created_at'] as String ..transactionHash = json['transaction_hash'] as String diff --git a/lib/src/responses/transaction_response.dart b/lib/src/responses/transaction_response.dart index fee58a8..1b59a38 100644 --- a/lib/src/responses/transaction_response.dart +++ b/lib/src/responses/transaction_response.dart @@ -14,10 +14,10 @@ class TransactionResponse extends Response { String createdAt; String sourceAccount; String sourceAccountMuxed; - int sourceAccountMuxedId; + String sourceAccountMuxedId; String feeAccount; String feeAccountMuxed; - int feeAccountMuxedId; + String feeAccountMuxedId; bool successful; String pagingToken; int sourceAccountSequence; @@ -78,10 +78,10 @@ class TransactionResponse extends Response { json['created_at'] as String, json['source_account'] as String, json['source_account_muxed'] as String, - convertInt(json['source_account_muxed_id']), + json['source_account_muxed_id'] as String, json['fee_account'] as String, json['fee_account_muxed'] as String, - convertInt(json['fee_account_muxed_id']), + json['fee_account_muxed_id'] as String, json['successful'] as bool, json['paging_token'] as String, convertInt(json['source_account_sequence']), diff --git a/pubspec.yaml b/pubspec.yaml index 4729c03..a1abb5d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: stellar_flutter_sdk description: A stellar blockchain sdk that query's horizon, build, signs and submits transactions to the stellar network. -version: 1.1.6 +version: 1.1.7 homepage: https://github.com/Soneso/stellar_flutter_sdk environment: