toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authorizationType != null) 'authorizationType': authorizationType!,
      if (clientId != null) 'clientId': clientId!,
      if (dataRefreshType != null) 'dataRefreshType': dataRefreshType!,
      if (dataSourceId != null) 'dataSourceId': dataSourceId!,
      if (defaultDataRefreshWindowDays != null)
        'defaultDataRefreshWindowDays': defaultDataRefreshWindowDays!,
      if (defaultSchedule != null) 'defaultSchedule': defaultSchedule!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (helpUrl != null) 'helpUrl': helpUrl!,
      if (manualRunsDisabled != null)
        'manualRunsDisabled': manualRunsDisabled!,
      if (minimumScheduleInterval != null)
        'minimumScheduleInterval': minimumScheduleInterval!,
      if (name != null) 'name': name!,
      if (parameters != null) 'parameters': parameters!,
      if (scopes != null) 'scopes': scopes!,
      if (supportsCustomSchedule != null)
        'supportsCustomSchedule': supportsCustomSchedule!,
      if (supportsMultipleTransfers != null)
        'supportsMultipleTransfers': supportsMultipleTransfers!,
      if (transferType != null) 'transferType': transferType!,
      if (updateDeadlineSeconds != null)
        'updateDeadlineSeconds': updateDeadlineSeconds!,
    };