toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activationReason != null) 'activationReason': activationReason!,
      if (cancellationReason != null)
        'cancellationReason': cancellationReason!,
      if (changeType != null) 'changeType': changeType!,
      if (createTime != null) 'createTime': createTime!,
      if (entitlement != null) 'entitlement': entitlement!,
      if (offer != null) 'offer': offer!,
      if (operator != null) 'operator': operator!,
      if (operatorType != null) 'operatorType': operatorType!,
      if (otherChangeReason != null) 'otherChangeReason': otherChangeReason!,
      if (parameters != null) 'parameters': parameters!,
      if (provisionedService != null)
        'provisionedService': provisionedService!,
      if (suspensionReason != null) 'suspensionReason': suspensionReason!,
    };