InstanceConsumptionData.fromJson constructor

InstanceConsumptionData.fromJson(
  1. Map json_
)

Implementation

InstanceConsumptionData.fromJson(core.Map json_)
    : this(
        consumptionInfo: json_.containsKey('consumptionInfo')
            ? InstanceConsumptionInfo.fromJson(json_['consumptionInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        instance: json_.containsKey('instance')
            ? json_['instance'] as core.String
            : null,
      );