Distribution.fromJson constructor

Distribution.fromJson(
  1. Map json_
)

Implementation

Distribution.fromJson(core.Map json_)
    : this(
        marketShare: json_.containsKey('marketShare')
            ? (json_['marketShare'] as core.num).toDouble()
            : null,
        measurementTime: json_.containsKey('measurementTime')
            ? json_['measurementTime'] as core.String
            : null,
      );