[오류처리] nullable string to string

in #flutter3 years ago

image.png

이런 경우

var title2 = snapshot.data?.list[i].title;
=>
var title2 = snapshot.data?.list[i].title as String;

위와 같이 바꿔주면 OK !

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.033
BTC 69852.07
ETH 3757.14
USDT 1.00
SBD 3.75