ExternalServiceCost.fromJson constructor

ExternalServiceCost.fromJson(
  1. Map json_
)

Implementation

ExternalServiceCost.fromJson(core.Map json_)
    : this(
        bytesBilled: json_.containsKey('bytesBilled')
            ? json_['bytesBilled'] as core.String
            : null,
        bytesProcessed: json_.containsKey('bytesProcessed')
            ? json_['bytesProcessed'] as core.String
            : null,
        externalService: json_.containsKey('externalService')
            ? json_['externalService'] as core.String
            : null,
        reservedSlotCount: json_.containsKey('reservedSlotCount')
            ? json_['reservedSlotCount'] as core.String
            : null,
        slotMs: json_.containsKey('slotMs')
            ? json_['slotMs'] as core.String
            : null,
      );