toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (constraints != null) 'constraints': constraints!,
      if (dealCode != null) 'dealCode': dealCode!,
      if (endTime != null) 'endTime': endTime!,
      if (marketingInfo != null) 'marketingInfo': marketingInfo!,
      if (name != null) 'name': name!,
      if (parameterDefinitions != null)
        'parameterDefinitions': parameterDefinitions!,
      if (plan != null) 'plan': plan!,
      if (priceByResources != null) 'priceByResources': priceByResources!,
      if (sku != null) 'sku': sku!,
      if (startTime != null) 'startTime': startTime!,
    };