toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backfillAll != null) 'backfillAll': backfillAll!,
      if (backfillNone != null) 'backfillNone': backfillNone!,
      if (createTime != null) 'createTime': createTime!,
      if (customerManagedEncryptionKey != null)
        'customerManagedEncryptionKey': customerManagedEncryptionKey!,
      if (destinationConfig != null) 'destinationConfig': destinationConfig!,
      if (displayName != null) 'displayName': displayName!,
      if (errors != null) 'errors': errors!,
      if (labels != null) 'labels': labels!,
      if (lastRecoveryTime != null) 'lastRecoveryTime': lastRecoveryTime!,
      if (name != null) 'name': name!,
      if (sourceConfig != null) 'sourceConfig': sourceConfig!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };