PriceInfo.fromJson constructor

PriceInfo.fromJson(
  1. String id,
  2. Map<String, dynamic> _json
)

Implementation

PriceInfo.fromJson(this.id, this._json)
    : this.lastUpdatedAt = Convert.toDateTime(
          _json['last_updated_at'], Helpers.defaultDateTime()) {
  _json.remove('last_updated_at');
}