Price.fromJson constructor

Price.fromJson(
  1. Map json_
)

Implementation

Price.fromJson(core.Map json_)
    : this(
        currency: json_.containsKey('currency')
            ? json_['currency'] as core.String
            : null,
        priceMicros: json_.containsKey('priceMicros')
            ? json_['priceMicros'] as core.String
            : null,
      );