toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actionNames != null) 'actionNames': actionNames!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (name != null) 'name': name!,
      if (query != null) 'query': query!,
      if (supersededAlerts != null) 'supersededAlerts': supersededAlerts!,
      if (supersedingAlert != null) 'supersedingAlert': supersedingAlert!,
      if (threshold != null) 'threshold': threshold!,
      if (triggerSource != null) 'triggerSource': triggerSource!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (windowSize != null) 'windowSize': windowSize!,
    };