WatchAsset constructor
Implementation
WatchAsset({
required String address,
required String symbol,
int? decimals,
String? image,
}) : super(
method: 'wallet_watchAsset',
paramsJson: jsonEncode({
'address': address,
'symbol': symbol,
'decimals': decimals ?? 18,
if (image != null) 'image': image,
}),
);