UsageMetrics.fromJson constructor

UsageMetrics.fromJson(
  1. Map json_
)

Implementation

UsageMetrics.fromJson(core.Map json_)
    : this(
        acceleratorType: json_.containsKey('acceleratorType')
            ? json_['acceleratorType'] as core.String
            : null,
        milliAcceleratorSeconds: json_.containsKey('milliAcceleratorSeconds')
            ? json_['milliAcceleratorSeconds'] as core.String
            : null,
        milliDcuSeconds: json_.containsKey('milliDcuSeconds')
            ? json_['milliDcuSeconds'] as core.String
            : null,
        shuffleStorageGbSeconds: json_.containsKey('shuffleStorageGbSeconds')
            ? json_['shuffleStorageGbSeconds'] as core.String
            : null,
      );