You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Здравствуйте!
Получаю ошибочку:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: type 'int' is not a subtype of type 'String?' in type cast
#0 _$AccountQrTokenFromJson (package:tinkoff_acquiring/src/core/models/common/account_qr_token.g.dart:11:38) #1 new AccountQrToken.fromJson (package:tinkoff_acquiring/src/core/models/common/account_qr_token.dart:22:7) #2 _$GetAccountQrListResponseFromJson. (package:tinkoff_acquiring/src/core/models/get_account_qr_list/get_account_qr_list_response.g.dart:19:39) #3 MappedListIterable.elementAt (dart:_internal/iterable.dart:415:31) #4 ListIterator.moveNext (dart:_internal/iterable.dart:344:26) #5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27) #6 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28) #7 new List.of (dart:core-patch/array_patch.dart:47:28) #8 ListIterable.toList (dart:_internal/iterable.dart:214:7) #9 _$GetAccountQrListResponseFromJson (package:tinkof<…>
при выполнении:
///получаем список аккаунт токенов
var sbpAccountList = await acquiring.getAccountQrList(GetAccountQrListRequest(signToken: signToken));
при чем, когда ни одного счета не было возвращался нормально пустой массив
после привязки счета, ответ от сервера идет адекватный:
[Tinkoff | RawResponse] 200 | {"Success":true,"ErrorCode":"0","Message":"OK","TerminalKey":"**********","AccountTokens":[{"RequestKey":136971,"Status":"PROCESSING"}]}
а расшифровать его сериализатор не может: get_account_qr_list_response.g.dart строка 18
The text was updated successfully, but these errors were encountered:
Здравствуйте!
Получаю ошибочку:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: type 'int' is not a subtype of type 'String?' in type cast
#0 _$AccountQrTokenFromJson (package:tinkoff_acquiring/src/core/models/common/account_qr_token.g.dart:11:38)
#1 new AccountQrToken.fromJson (package:tinkoff_acquiring/src/core/models/common/account_qr_token.dart:22:7)
#2 _$GetAccountQrListResponseFromJson. (package:tinkoff_acquiring/src/core/models/get_account_qr_list/get_account_qr_list_response.g.dart:19:39)
#3 MappedListIterable.elementAt (dart:_internal/iterable.dart:415:31)
#4 ListIterator.moveNext (dart:_internal/iterable.dart:344:26)
#5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#6 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#7 new List.of (dart:core-patch/array_patch.dart:47:28)
#8 ListIterable.toList (dart:_internal/iterable.dart:214:7)
#9 _$GetAccountQrListResponseFromJson (package:tinkof<…>
при выполнении:
///получаем список аккаунт токенов
var sbpAccountList = await acquiring.getAccountQrList(GetAccountQrListRequest(signToken: signToken));
при чем, когда ни одного счета не было возвращался нормально пустой массив
после привязки счета, ответ от сервера идет адекватный:
[Tinkoff | RawResponse] 200 | {"Success":true,"ErrorCode":"0","Message":"OK","TerminalKey":"**********","AccountTokens":[{"RequestKey":136971,"Status":"PROCESSING"}]}
а расшифровать его сериализатор не может: get_account_qr_list_response.g.dart строка 18
The text was updated successfully, but these errors were encountered: