AuctionBid.fromJson constructor

AuctionBid.fromJson(
  1. Map<String, dynamic> json
)

Parses a AuctionBid from TDLib JSON.

Implementation

factory AuctionBid.fromJson(Map<String, dynamic> json) => AuctionBid(
  starCount: _readInt(json['star_count']),
  bidDate: _readInt(json['bid_date']),
  position: _readInt(json['position']),
);