UsageCost constructor

UsageCost({
  1. UsageCostType? resourceType,
  2. double? cost,
})

Implementation

factory UsageCost({
  UsageCostType? resourceType,
  $core.double? cost,
}) {
  final $result = create();
  if (resourceType != null) {
    $result.resourceType = resourceType;
  }
  if (cost != null) {
    $result.cost = cost;
  }
  return $result;
}