AuctionContext.fromJson constructor

AuctionContext.fromJson(
  1. Map _json
)

Implementation

AuctionContext.fromJson(core.Map _json)
    : this(
        auctionTypes: _json.containsKey('auctionTypes')
            ? (_json['auctionTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );