Kpi.fromJson constructor

Kpi.fromJson(
  1. Map json_
)

Implementation

Kpi.fromJson(core.Map json_)
    : this(
        kpiAmountMicros: json_.containsKey('kpiAmountMicros')
            ? json_['kpiAmountMicros'] as core.String
            : null,
        kpiPercentageMicros: json_.containsKey('kpiPercentageMicros')
            ? json_['kpiPercentageMicros'] as core.String
            : null,
        kpiString: json_.containsKey('kpiString')
            ? json_['kpiString'] as core.String
            : null,
        kpiType: json_.containsKey('kpiType')
            ? json_['kpiType'] as core.String
            : null,
      );