furaiev / amazon-cognito-identity-dart-2

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
187 stars 114 forks source link

fix - type 'List<dynamic>' is not a subtype of type 'List<int>' #35

Closed diciaup closed 4 years ago

diciaup commented 4 years ago

error during login process caused by dart auto typing system, that assign signatureData variable as List instead of List this was causing this exception: type 'List' is not a subtype of type 'List'

furaiev commented 4 years ago

@diciaup thank you for your contribution, I've adjusted in the way:

    final signatureData = <int>[];

due to rule https://dart-lang.github.io/linter/lints/omit_local_variable_types.html

pls check version 0.1.12+1