toWire method
Implementation
Map<String, Object?> toWire() => {
'kind': intentName,
'maxPrice': (() {
final _maxPrice = this.maxPrice;
return _maxPrice == null ? null : _maxPrice;
})(),
'limit': (() {
final _limit = this.limit;
return _limit == null ? null : _limit;
})(),
};