Skip to content

Commit

Permalink
fix nnbd warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepighetti committed May 8, 2021
1 parent 72ea594 commit 11cdf44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/src/rest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ class BinanceRest {
///
/// https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#symbol-price-ticker
Future<TickerPrice> symbolPriceTicker(String symbol) async {
assert(symbol != null);

final response = await _public('/v3/ticker/price', {'symbol': symbol});

return TickerPrice.fromMap(response);
Expand Down

0 comments on commit 11cdf44

Please sign in to comment.